Changeset 036a5e in git
- Timestamp:
- Feb 15, 2021, 6:09:41 PM (2 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 897be4e9d0d99f6edc2785f7a335bdde34c0ad73
- Parents:
- 7b5b095ed2434be9e1783ac23414e01c2a75fec4
- Location:
- kernel/GBEngine
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kspoly.cc
r7b5b09 r036a5e 187 187 poly spNoether, 188 188 number *coef, 189 poly *mon, 189 190 kStrategy strat) 190 191 { … … 239 240 #endif 240 241 241 if ( t2==NULL)// Divisor is just one term, therefore it will242 if ((t2==NULL)&&(mon==NULL)) // Divisor is just one term, therefore it will 242 243 { // just cancel the leading term 243 244 PR->LmDeleteAndIter(); … … 293 294 if (coef != NULL) *coef = n_Init(1, tailRing->cf); 294 295 } 295 296 if(mon!=NULL) *mon=pHead(lm); 296 297 297 298 // and finally, -
kernel/GBEngine/kstd1.cc
r7b5b09 r036a5e 141 141 h->GetP(); 142 142 h->length=h->pLength=pLength(h->p); 143 ret = ksReducePoly(&L, with, strat->kNoetherTail(), NULL, strat);143 ret = ksReducePoly(&L, with, strat->kNoetherTail(), NULL, NULL, strat); 144 144 if (ret) 145 145 { … … 157 157 } 158 158 else 159 ret = ksReducePoly(h, with, strat->kNoetherTail(), NULL, strat);159 ret = ksReducePoly(h, with, strat->kNoetherTail(), NULL, NULL, strat); 160 160 #ifdef KDEBUG 161 161 if (TEST_OPT_DEBUG) … … 817 817 } 818 818 #endif 819 ksReducePoly(h, &(strat->T[j]), strat->kNoetherTail(), NULL, strat);819 ksReducePoly(h, &(strat->T[j]), strat->kNoetherTail(), NULL, NULL, strat); 820 820 #ifdef KDEBUG 821 821 if (TEST_OPT_DEBUG) -
kernel/GBEngine/kstd2.cc
r7b5b09 r036a5e 736 736 else 737 737 { 738 ksReducePoly(h, &(strat->T[j]), NULL, NULL, strat);738 ksReducePoly(h, &(strat->T[j]), NULL, NULL, NULL, strat); 739 739 } 740 740 /* printf("\nAfter small red: ");pWrite(h->p); */ … … 842 842 //printf("\nFound one: ");pWrite(strat->T[j].p); 843 843 //enterT(*h, strat); 844 ksReducePoly(h, &(strat->T[j]), NULL, NULL, strat); // with debug output844 ksReducePoly(h, &(strat->T[j]), NULL, NULL, NULL, strat); // with debug output 845 845 //printf("\nAfter small red: ");pWrite(h->p); 846 846 if (h->GetLmTailRing() == NULL) … … 970 970 assume(strat->fromT == FALSE); 971 971 972 ksReducePoly(h, &(strat->T[ii]), NULL, NULL, strat);972 ksReducePoly(h, &(strat->T[ii]), NULL, NULL, NULL, strat); 973 973 #if SBA_PRINT_REDUCTION_STEPS 974 974 sba_interreduction_steps++; … … 1715 1715 #endif 1716 1716 1717 ksReducePoly(h, &(strat->T[ii]), NULL, NULL, strat);1717 ksReducePoly(h, &(strat->T[ii]), NULL, NULL, NULL, strat); 1718 1718 #if SBA_PRINT_REDUCTION_STEPS 1719 1719 sba_interreduction_steps++; … … 1937 1937 assume(strat->fromT == FALSE); 1938 1938 1939 ksReducePoly(h,&(strat->T[ii]),strat->kNoetherTail(),NULL, strat);1939 ksReducePoly(h,&(strat->T[ii]),strat->kNoetherTail(),NULL,NULL, strat); 1940 1940 #if SBA_PRINT_REDUCTION_STEPS 1941 1941 sba_interreduction_steps++; … … 2548 2548 if ((TEST_OPT_INTSTRATEGY) || (rField_is_Ring(currRing))) 2549 2549 { 2550 strat->P.pCleardenom(); 2550 if (TEST_OPT_IDLIFT) 2551 strat->P.pContent(); 2552 else 2553 strat->P.pCleardenom(); 2551 2554 if ((TEST_OPT_REDSB)||(TEST_OPT_REDTAIL)) 2552 2555 { … … 4778 4781 } 4779 4782 #endif 4780 ksReducePoly(h, &(strat->T[j]), strat->kNoetherTail(), NULL, strat);4783 ksReducePoly(h, &(strat->T[j]), strat->kNoetherTail(), NULL, NULL, strat); 4781 4784 4782 4785 #ifdef KDEBUG
Note: See TracChangeset
for help on using the changeset viewer.