]> www.ginac.de Git - ginac.git/commit
Improve heur_gcd() so it can handle rational polynomials, and add a test case.
authorJens Vollinga <jensv@nikhef.nl>
Tue, 24 Jun 2008 19:26:58 +0000 (21:26 +0200)
committerJens Vollinga <jensv@nikhef.nl>
Tue, 24 Jun 2008 19:26:58 +0000 (21:26 +0200)
commit65196b339fbcc7d0e2eb3036fa64e5fa47b56379
tree7cea2036a719bfde07356ae89eb4686eaddd95c7
parent314595d10b4a4471bd4637a9038b18dde4780513
Improve heur_gcd() so it can handle rational polynomials, and add a test case.

Previously heur_gcd() worked only with integer polynomials, and did not check
if the inputs are indeed integer polynomials. That lead to an endless loop or
a miscomputed gcd.

[A.Sheplyakov]
check/Makefile.am
check/heur_gcd_bug.cpp [new file with mode: 0644]
ginac/normal.cpp