Bug #1690
resultant gives wrong answer if an arg has deg 0
Description
The following incorrectly returns 0
f := x^3-2; resultant(f, 3*x/x, x);
History
#1 Updated by John Abbott over 1 year ago
- Status changed from New to Feedback
- Assignee set to John Abbott
- % Done changed from 0 to 80
The code did not properly handle the "edge case" when one of the input polys was a factor of the other.
If the factor is not constant then the result is zero; but if the factor is constant then the result is non-zero!
Fixed. Added a test in test-exbugs.C
[will check in soon... if I can remember how]
#2 Updated by John Abbott over 1 year ago
- Status changed from Feedback to Closed
- % Done changed from 80 to 100
- Estimated time set to 0.55 h