3 Feb
2016
3 Feb
'16
8:32 a.m.
Hello Diego, On 02/01/2016 07:10 PM, Diego Conti wrote:
if I understand correctly, the preconditions of sqrfree do not require the operand to be in expanded form. However, invoking it on some non-expanded polynomials results in a division-by-zero error on my system (code attached). Is this a bug in sqrfree? I am using gcc 5.1.1 and GiNaC 1.6.6.
Thank you for reporting this problem. It is a bug in sqrfree. The textbook implementation of Yun's algorithm doesn't cope with zero polynomials in disguise. I've submitted a patch. -richy. -- Richard B. Kreckel <http://in.terlu.de/~kreckel/>