Changeset 19df79 in git for Singular/kstd1.cc
- Timestamp:
- Dec 21, 2000, 5:37:52 PM (23 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- cc3a04e207e65e63ef1f42613861ce5365082fff
- Parents:
- d9f665b2cc780458978ceb1111b560b41f9f9d4e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/kstd1.cc
rd9f665 r19df79 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.7 5 2000-12-20 11:15:43obachman Exp $ */4 /* $Id: kstd1.cc,v 1.76 2000-12-21 16:37:49 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 11 11 12 12 // define if tailrings should be used 13 #define HAVE_TAIL_RING13 // #define HAVE_TAIL_RING 14 14 15 15 #include "mod2.h" … … 134 134 h->GetP(); 135 135 h->SetLength(strat->length_pLength); 136 ret = ksReducePoly(&L, with, strat->kNoether , NULL, strat);136 ret = ksReducePoly(&L, with, strat->kNoetherTail(), NULL, strat); 137 137 if (ret) 138 138 { … … 147 147 } 148 148 else 149 ret = ksReducePoly(h, with, strat->kNoether , NULL, strat);149 ret = ksReducePoly(h, with, strat->kNoetherTail(), NULL, strat); 150 150 #ifdef KDEBUG 151 151 if (TEST_OPT_DEBUG) … … 357 357 } 358 358 #endif 359 ksReducePoly(h, &(strat->T[j]), strat->kNoether , NULL, strat);359 ksReducePoly(h, &(strat->T[j]), strat->kNoetherTail(), NULL, strat); 360 360 #ifdef KDEBUG 361 361 if (TEST_OPT_DEBUG) … … 527 527 /*- try to reduce the s-polynomial -*/ 528 528 o = H.SetpFDeg(); 529 cancelunit(&H);529 if (flag != 2) cancelunit(&H); 530 530 H.ecart = pLDeg(H.p,&(H.length))-o; 531 531 j = 0; … … 749 749 } 750 750 /* create the real one */ 751 ksCreateSpoly(&(strat->L[j]), strat->kNoether , FALSE,751 ksCreateSpoly(&(strat->L[j]), strat->kNoetherTail(), FALSE, 752 752 strat->tailRing, m1, m2, strat->R); 753 753 … … 806 806 } 807 807 /* create the real one */ 808 ksCreateSpoly(&(strat->L[i]), strat->kNoether , FALSE,808 ksCreateSpoly(&(strat->L[i]), strat->kNoetherTail(), FALSE, 809 809 strat->tailRing, m1, m2, strat->R); 810 810 if (! strat->L[i].IsNull()) … … 1098 1098 1099 1099 #ifdef HAVE_TAIL_RING 1100 if (strat->homog && strat->red == redFirst)1100 // if (strat->homog && strat->red == redFirst) 1101 1101 kStratInitChangeTailRing(strat); 1102 1102 #endif … … 1150 1150 } 1151 1151 /* create the real one */ 1152 ksCreateSpoly(&(strat->P), strat->kNoether , strat->use_buckets,1152 ksCreateSpoly(&(strat->P), strat->kNoetherTail(), strat->use_buckets, 1153 1153 strat->tailRing, m1, m2, strat->R); 1154 1154 if (!strat->use_buckets)
Note: See TracChangeset
for help on using the changeset viewer.