Changeset 1427c5c in git
- Timestamp:
- Jan 27, 2020, 9:39:46 PM (4 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- bbc88372fd4d9c3bc704e6afef375197fdd09810
- Parents:
- 2857dfa8378694e81c473eaa4ec5ed50c7fba35a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kspoly.cc
r2857df r1427c5c 398 398 { 399 399 ct = n_ExtGcd(pGetCoeff(p1), pGetCoeff(p2), &an, &bn, tailRing->cf); // Calculate GCD 400 #ifdef HAVE_SHIFTBBA 401 if (n_IsZero(an, tailRing->cf) || n_IsZero(bn, tailRing->cf)) 402 { 403 // NOTE: not sure why this is not checked in the commutative case, this *does* happen and then zero coeff errors are reported 404 405 // NOTE: we are probably leaking memory of lm=pOne(), but we cannot delete it since it could also be lm=p1 406 n_Delete(&an, tailRing->cf); 407 n_Delete(&bn, tailRing->cf); 408 n_Delete(&ct, tailRing->cf); 409 return ret; 410 } 411 #endif 400 412 /* negate bn since we subtract in Tail_Minus_mm_Mult_qq */ 401 413 bn = n_InpNeg(bn, tailRing->cf);
Note: See TracChangeset
for help on using the changeset viewer.