Changeset 7d405ea in git
- Timestamp:
- Aug 16, 2018, 3:24:08 PM (5 years ago)
- Branches:
- (u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
- Children:
- f57a527ff5945269a660f068be0628fbd2af9a48
- Parents:
- 2c1877bee39e18edce18852e793125bdfcafb3e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kutil.cc
r2c1877 r7d405ea 1527 1527 k_GetStrongLeadTerms(p, si, currRing, m1, m2, gcd, strat->tailRing); 1528 1528 1529 unsigned long sev = pGetShortExpVector(gcd); 1530 1531 for (int j = 0; j < strat->sl; j++) { 1532 if (j == i) 1533 continue; 1534 1535 if (n_DivBy(d, pGetCoeff(strat->S[j]), currRing->cf) && 1536 !(strat->sevS[j] & ~sev) && 1537 p_LmDivisibleBy(strat->S[j], gcd, currRing)) { 1538 nDelete(&d); 1539 nDelete(&s); 1540 nDelete(&t); 1541 return FALSE; 1529 if (!rHasMixedOrdering(currRing)) { 1530 unsigned long sev = pGetShortExpVector(gcd); 1531 1532 for (int j = 0; j < strat->sl; j++) { 1533 if (j == i) 1534 continue; 1535 1536 if (n_DivBy(d, pGetCoeff(strat->S[j]), currRing->cf) && 1537 !(strat->sevS[j] & ~sev) && 1538 p_LmDivisibleBy(strat->S[j], gcd, currRing)) { 1539 nDelete(&d); 1540 nDelete(&s); 1541 nDelete(&t); 1542 return FALSE; 1543 } 1542 1544 } 1543 1545 } … … 1601 1603 h.pCleardenom(); 1602 1604 strat->initEcart(&h); 1603 h.sev = sev;1605 h.sev = pGetShortExpVector(h.p); 1604 1606 h.i_r1 = -1;h.i_r2 = -1; 1605 1607 if (currRing!=strat->tailRing)
Note: See TracChangeset
for help on using the changeset viewer.