Re: [sage-devel] Segfault: Polynomials over RealField

2010-02-07 Thread Florent Hivert
Hi On Sun, Feb 07, 2010 at 02:49:53AM -0800, Kiran Kedlaya wrote: > The following input segfaults sage 4.3.2 on sage.math, as well as sage > 4.3 on various other machines. > > P. = PolynomialRing(RealField()) > print sum(P(0)*P(0) for k in range(1)) > > This example seems quite fragile; f

[sage-devel] Segfault: Polynomials over RealField

2010-02-07 Thread Kiran Kedlaya
The following input segfaults sage 4.3.2 on sage.math, as well as sage 4.3 on various other machines. P. = PolynomialRing(RealField()) print sum(P(0)*P(0) for k in range(1)) This example seems quite fragile; for instance, the segfault goes away if you change RealField to RationalField, RealDouble