[sage-devel] Re: Coefficients of power series

2013-05-08 Thread Niles Johnson
The behavior of .list() for power series also produces bugs in power series comparison. I filed a ticket and patch for this at http://trac.sagemath.org/sage_trac/ticket/9457 but ran into unexpected problems in some of the elliptic curves code, because the p-adics in Sage are derived from the g

[sage-devel] Re: Coefficients of power series

2013-05-07 Thread Nils Bruin
On May 7, 2:10 pm, David Roe wrote: > For consistency with multivariate polynomials, the coefficient method on > univariate polynomials (and power series) only returns the nonzero > coefficients. Note that (x^2+1).coeffs() and list(x^2+1) do provide the desired behaviour, so at least there's a wo