On 15 Feb., 19:20, Simon King <simon.k...@uni-jena.de> wrote: > I think a segfault caused by a different choice of a gcd is nasty and > probably a bug. But I guess Ginac is beyond my understanding.
I don't know if there is a bug in Ginac hidden (Ginac people may contact me if they feel like hunting that issue down), but at least I was able to modify my patch so that it is not triggered. It could actually be that the problem was ultimately in my patch and not in Ginac: The segfault was a result of an endless series of gcd and lcm computations. Question: Is it a problem if (-sqrt(2)-1/5*I)^2 returns 1/25*(-5*sqrt(2) - I)^2, i.e., if the minus sign is not pulled out? If it is, then please explain in what part of the code the minus sign is supposed to be pulled out. Cheers, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org