Changeset bef194 in git for Singular/kstd1.cc
- Timestamp:
- Dec 18, 2000, 2:30:39 PM (23 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 64b116830d916500b5f224c29ed87bb214f3c975
- Parents:
- 35f23db1d98503370c2432aebc628c69b0560444
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/kstd1.cc
r35f23d rbef194 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.7 2 2000-12-15 11:33:58obachman Exp $ */4 /* $Id: kstd1.cc,v 1.73 2000-12-18 13:30:35 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 41 41 |Sy_bit(OPT_SUGARCRIT) /* 5 */ 42 42 |Sy_bit(OPT_REDTHROUGH) 43 |Sy_bit(OPT_OLDSTD) 43 44 |Sy_bit(OPT_FASTHC) /* 10 */ 44 45 |Sy_bit(OPT_KEEPVARS) /* 21 */ … … 70 71 |Sy_bit(18) 71 72 |Sy_bit(19) 72 // |Sy_bit(20) obachman 11/00 tossed 73 // |Sy_bit(20) obachman 11/00 tossed: 12/00 used for redOldStd 74 |Sy_bit(OPT_OLDSTD) 73 75 |Sy_bit(21) 74 76 |Sy_bit(22) … … 225 227 226 228 // end of search: have to reduce with pi 227 if ( ei > h->ecart)229 if (!K_TEST_OPT_REDTHROUGH && ei > h->ecart) 228 230 { 229 231 // It is not possible to reduce h with smaller ecart; … … 298 300 *-if the number of pre-defined reductions jumps 299 301 */ 300 if ( (strat->Ll >= 0)302 if (!K_TEST_OPT_REDTHROUGH && (strat->Ll >= 0) 301 303 && ((d >= reddeg) || (pass > strat->LazyPass))) 302 304 { … … 401 403 if (!strat->homog) 402 404 { 403 #ifndef HAVE_OLD_STD 404 if (strat->honey) 405 if (!K_TEST_OPT_OLDSTD && strat->honey) 405 406 { 406 407 h->SetpFDeg(); … … 413 414 } 414 415 else 415 #endif 416 d = h->SetDegStuffReturnLDeg(strat->LDegLast); 416 d = h->SetDegStuffReturnLDeg(strat->LDegLast); 417 417 /*- try to reduce the s-polynomial -*/ 418 418 pass++; … … 422 422 *-if the number of pre-defined reductions jumps 423 423 */ 424 if ( (strat->Ll >= 0)424 if (!K_TEST_OPT_REDTHROUGH && (strat->Ll >= 0) 425 425 && ((d >= reddeg) || (pass > strat->LazyPass))) 426 426 { … … 1071 1071 int olddeg = 0; 1072 1072 int reduc = 0; 1073 int red_result = 1; 1073 1074 int hilbeledeg=1,hilbcount=0; 1074 1075 … … 1174 1175 // might be NULL from noether !!! 1175 1176 if (TEST_OPT_PROT) 1176 message(strat->P.ecart+strat->P.GetpFDeg(),&olddeg,&reduc,strat );1177 message(strat->P.ecart+strat->P.GetpFDeg(),&olddeg,&reduc,strat, red_result); 1177 1178 // reduce 1178 strat->red(&strat->P,strat);1179 red_result = strat->red(&strat->P,strat); 1179 1180 } 1180 1181 … … 1552 1553 kStrategy strat=new skStrategy; 1553 1554 1554 #ifdef HAVE_OLD_STD1555 test &= ~Sy_bit(OPT_REDTHROUGH);1556 #endif1557 1558 1555 if(!TEST_OPT_RETURN_SB) 1559 1556 strat->syzComp = syzComp;
Note: See TracChangeset
for help on using the changeset viewer.