Changeset 9866fc in git
- Timestamp:
- Jul 23, 2007, 12:50:02 PM (16 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 9870019aa6443f84c0f191537798b699dea0a7b5
- Parents:
- 78b904c6080f8b523545e5a4a1b9d12db23607d4
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kstd2.cc
r78b904 r9866fc 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1.4 7 2007-07-23 10:46:57Singular Exp $ */4 /* $Id: kstd2.cc,v 1.48 2007-07-23 10:50:02 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 1405 1405 /*- compute------------------------------------------------------- -*/ 1406 1406 res=idInit(IDELEMS(q),q->rank); 1407 //if ((TEST_OPT_INTSTRATEGY)&&(lazyReduce==0))1408 {1409 for (i=strat->sl;i>=0;i--)1410 pNorm(strat->S[i]);1411 }1412 1407 for (i=IDELEMS(q)-1; i>=0; i--) 1413 1408 { … … 1418 1413 if ((p!=NULL)&&(lazyReduce==0)) 1419 1414 { 1415 BITSET save=test; 1416 test &= ~Sy_bit(OPT_INTSTRATEGY); 1420 1417 if (TEST_OPT_PROT) { PrintS("t"); mflush(); } 1421 1418 p = redtailBba(p,max_ind,strat); 1419 test=save; 1422 1420 } 1423 1421 res->m[i]=p; -
kernel/kutil.cc
r78b904 r9866fc 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.6 2 2007-07-13 14:19:26Singular Exp $ */4 /* $Id: kutil.cc,v 1.63 2007-07-23 10:46:57 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 2530 2530 idSkipZeroes(G0); 2531 2531 return G0; 2532 } 2532 } 2533 2533 #endif 2534 2534 … … 4267 4267 if (With == NULL) break; 4268 4268 } 4269 if ((!TEST_OPT_INTSTRATEGY) && (!nIsOne(pGetCoeff(With->p)))) 4270 { 4271 With->pNorm(); 4272 //if (TEST_OPT_PROT) { PrintS("n"); mflush(); } 4273 } 4269 4274 strat->redTailChange=TRUE; 4270 4275 if (ksReducePolyTail(L, With, &Ln)) 4271 4276 { 4272 4277 // reducing the tail would violate the exp bound 4273 4274 4278 // set a flag and hope for a retry (in bba) 4279 strat->completeReduce_retry=TRUE; 4275 4280 do 4276 4281 { … … 4279 4284 L->pLength++; 4280 4285 } while (!Ln.IsNull()); 4281 4286 goto all_done; 4282 4287 } 4283 4288 if (Ln.IsNull()) goto all_done; … … 4494 4499 } 4495 4500 /*- test, if a unit is in F -*/ 4496 if ((strat->sl>=0) 4501 if ((strat->sl>=0) 4497 4502 #ifdef HAVE_RINGS 4498 4503 && !rField_is_Ring(currRing) … … 5477 5482 strat->fromT = FALSE; 5478 5483 strat->noTailReduction = !TEST_OPT_REDTAIL; 5479 if (!TEST_OPT_SB_1) 5484 if (!TEST_OPT_SB_1) 5480 5485 { 5481 5486 updateS(TRUE,strat); … … 6370 6375 enterOnePair(j,h,ecart,isFromQ,strat, atR); 6371 6376 } 6372 6377 /* HERE we put (h, s*h) pairs */ 6373 6378 } 6374 6379 }
Note: See TracChangeset
for help on using the changeset viewer.