Changeset 073e96 in git
 Timestamp:
 Aug 3, 2011, 2:39:13 PM (12 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
 Children:
 0a175571d14442df414738e8fca26cdc4adb8dc6
 Parents:
 9d4b8cd59b57658f59577acd8fb7501642b875a8
 gitauthor:
 Burcin Erocal <burcin@erocal.org>20110803 14:39:13+02:00
 gitcommitter:
 Mohamed Barakat <mohamed.barakat@rwthaachen.de>20111109 13:01:22+01:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

kernel/kspoly.cc
r9d4b8c r073e96 81 81 poly _p = (PR>t_p != NULL ? PR>t_p : PR>p); 82 82 assume(_p != NULL); 83 nc_PolyPolyRed(_p, p2,coef );83 nc_PolyPolyRed(_p, p2,coef, currRing); 84 84 if (PR>t_p!=NULL) PR>t_p=_p; else PR>p=_p; 85 PR>pLength=0; // us aully not used, GetpLength recomoutes it if needed85 PR>pLength=0; // usually not used, GetpLength recomputes it if needed 86 86 } 87 87 return 0; … … 122 122 number bn = pGetCoeff(lm); 123 123 number an = pGetCoeff(p2); 124 int ct = ksCheckCoeff(&an, &bn ); // Calculate special LC124 int ct = ksCheckCoeff(&an, &bn, tailRing>cf); // Calculate special LC 125 125 p_SetCoeff(lm, bn, tailRing); 126 126 if ((ct == 0)  (ct == 2)) … … 188 188 poly a1 = pNext(p1), a2 = pNext(p2); 189 189 number lc1 = pGetCoeff(p1), lc2 = pGetCoeff(p2); 190 int co=0, ct = ksCheckCoeff(&lc1, &lc2 ); // gcd and zero divisors190 int co=0, ct = ksCheckCoeff(&lc1, &lc2, currRing>cf); // gcd and zero divisors 191 191 192 192 int l1=0, l2=0; … … 371 371 if (is_Ring) 372 372 { 373 ksCheckCoeff(&lc1, &lc2 ); // gcd and zero divisors373 ksCheckCoeff(&lc1, &lc2, currRing>cf); // gcd and zero divisors 374 374 if (a1 != NULL) t2 = nMult(pGetCoeff(a1),lc2); 375 375 if (a2 != NULL) t1 = nMult(pGetCoeff(a2),lc1);
Note: See TracChangeset
for help on using the changeset viewer.