Changeset 930ea8 in git for kernel/sca.cc
- Timestamp:
- Jan 11, 2012, 2:42:18 PM (12 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 6c98d526bf15bb5a2845bfd4fb4f54474229668c
- Parents:
- 31f1850ad6697d9acd155b53fa63f9e1a648ed9c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/sca.cc
r31f1850 r930ea8 149 149 #endif 150 150 151 int srmax, lrmax;152 151 int olddeg, reduc; 153 152 int red_result = 1; … … 168 167 strat->posInT=posInT110; // !!! 169 168 170 srmax = strat->sl; 171 reduc = olddeg = lrmax = 0; 169 reduc = olddeg = 0; 172 170 173 171 … … 180 178 ) 181 179 { 182 if (strat->Ll > lrmax) lrmax =strat->Ll;// stat.183 184 180 #ifdef KDEBUG 185 181 if (TEST_OPT_DEBUG) messageSets(strat); … … 235 231 236 232 addLObject(strat->P, strat); 237 238 if (strat->sl > srmax) srmax = strat->sl;239 233 240 234 const poly save = strat->P.p; … … 307 301 // h.p = save; 308 302 // addLObject(h, strat); 309 310 // if (strat->sl > srmax) srmax = strat->sl;311 303 } 312 304 … … 340 332 } 341 333 342 if (TEST_OPT_PROT) messageStat( srmax,lrmax,hilbcount,strat);334 if (TEST_OPT_PROT) messageStat(hilbcount,strat); 343 335 344 336 if (tempQ!=NULL) updateResult(strat->Shdl,tempQ,strat); … … 436 428 #endif 437 429 438 int srmax, lrmax,red_result = 1;430 int red_result = 1; 439 431 int olddeg, reduc; 440 432 … … 458 450 // if (strat->minim>0) strat->M = idInit(IDELEMS(F),F->rank); 459 451 460 srmax = strat->sl; 461 reduc = olddeg = lrmax = 0; 452 reduc = olddeg = 0; 462 453 463 454 #define NO_BUCKETS … … 548 539 while (strat->Ll >= 0) 549 540 { 550 if (strat->Ll > lrmax) lrmax =strat->Ll;// stat.551 552 541 #ifdef KDEBUG 553 542 // loop_count++; … … 693 682 if (strat->P.lcm!=NULL) pLmFree(strat->P.lcm); 694 683 695 if (strat->sl>srmax) srmax = strat->sl;696 697 684 // ////////////////////////////////////////////////////////// 698 685 // SCA: … … 836 823 } 837 824 838 if (TEST_OPT_PROT) messageStat( srmax,lrmax,hilbcount,strat);825 if (TEST_OPT_PROT) messageStat(hilbcount,strat); 839 826 840 827 … … 969 956 970 957 971 int srmax = strat->sl;972 int lrmax = strat->Ll;973 958 int olddeg = 0; 974 959 int reduc = 0; … … 1036 1021 1037 1022 enterL(&strat->L,&strat->Ll,&strat->Lmax,h,pos); 1038 1039 if (strat->Ll>lrmax) lrmax = strat->Ll;1040 1023 } 1041 1024 } … … 1052 1035 sca_mora_loop_count++; 1053 1036 #endif 1054 if (lrmax< strat->Ll) lrmax=strat->Ll; // stat1055 1037 //test_int_std(strat->kIdeal); 1056 1038 #ifdef KDEBUG … … 1145 1127 strat->P.lcm=NULL; 1146 1128 1147 if (strat->sl>srmax) srmax = strat->sl; // stat.1148 if (strat->Ll>lrmax) lrmax = strat->Ll;1149 1150 1151 1152 1129 // ////////////////////////////////////////////////////////// 1153 1130 // SCA: … … 1186 1163 1187 1164 enterL(&strat->L,&strat->Ll,&strat->Lmax,h,pos); 1188 1189 if (strat->Ll>lrmax) lrmax = strat->Ll;1190 1165 } 1191 1166 … … 1231 1206 pDelete(&strat->kNoether); 1232 1207 omFreeSize((ADDRESS)strat->NotUsedAxis,(pVariables+1)*sizeof(BOOLEAN)); 1233 if (TEST_OPT_PROT) messageStat( srmax,lrmax,hilbcount,strat);1208 if (TEST_OPT_PROT) messageStat(hilbcount,strat); 1234 1209 if (TEST_OPT_WEIGHTM) 1235 1210 {
Note: See TracChangeset
for help on using the changeset viewer.