Changeset 22d119e in git
- Timestamp:
- Jul 7, 2015, 12:56:45 PM (8 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 6d11d24961ab342e357f6f0a5ffaea867ce8d7a3
- Parents:
- 535b07c51c4857086edba1903d2b9e2d4d023455
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kstd2.cc
r535b07 r22d119e 425 425 loop 426 426 { 427 j = kFindDivisibleByInT(strat, h); 428 if (j < 0) return 1; 427 j = kFindDivisibleByInT(strat->T, strat->sevT, strat->tl, h); 428 if (j < 0) 429 { 430 // over ZZ: cleanup coefficients by complete reduction with monomials 431 postReduceByMon(h, strat); 432 if(nIsZero(pGetCoeff(h->p))) return 2; 433 j = kFindDivisibleByInT(strat->T, strat->sevT, strat->tl, h); 434 if(j < 0) 435 { 436 if(strat->tl >= 0) 437 h->i_r1 = strat->tl; 438 else 439 h->i_r1 = -1; 440 if (h->GetLmTailRing() == NULL) 441 { 442 if (h->lcm!=NULL) pLmDelete(h->lcm); 443 h->Clear(); 444 return 0; 445 } 446 return 1; 447 } 448 } 449 #if ADIDEBUG 450 pWrite(h->p); 451 printf("\nFound j = %i\n",j);pWrite(strat->T[j].p); 452 #endif 429 453 ksReducePoly(h, &(strat->T[j]), NULL, NULL, strat); // with debug output 454 #if ADIDEBUG 455 printf("\nand after reduce: \n");pWrite(h->p); 456 #endif 430 457 431 458 if (h->GetLmTailRing() == NULL)
Note: See TracChangeset
for help on using the changeset viewer.