Make workarounds for sqrfree_yun() obsolete.
authorRichard Kreckel <kreckel@ginac.de>
Mon, 3 Aug 2020 16:20:27 +0000 (18:20 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 3 Aug 2020 16:20:27 +0000 (18:20 +0200)
commitf1a824bb5b7535c26c75ef03615179680c0f9753
tree79de503015c64682d599d6868127bd93a3b87818
parentcdddbc6dcdabef73aeb20bb9b81e08dba92a235c
Make workarounds for sqrfree_yun() obsolete.

Since Yun's algorithm is based on polynomial GCD, it only finds factors
up to a unit. Callers shouldn't have to work around this, so sqrfree_yun()
now does a final polynomial long division to compute the lost factor and
fixes the result before returning.
ginac/normal.cpp