[GiNaC-list] Possible bug in sqrfree

Diego Conti diego.conti at unimib.it
Mon Feb 1 19:10:13 CET 2016


Hi,

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.

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sqrfree.cpp
Type: text/x-c++src
Size: 204 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20160201/fbd6a0c6/attachment.cpp>


More information about the GiNaC-list mailing list