Bug in power series expansion

87 views
Skip to first unread message

Tobias Rossmann

unread,
Mar 31, 2017, 5:18:15 AM3/31/17
to sage-devel
Hi,

the following behaviour of Sage 7.5.1 and 7.6 (Ubuntu 16.04.1, 64-bit) is unexpected:

sage: var('x y0 y1')
(x, y0, y1)
sage: y0.series(x)
1*x + Order(x^20)
sage: y1.series(x)
(y1)

Version 7.4 works fine.

Best,
Tobias

Ralf Stephan

unread,
Apr 1, 2017, 1:57:13 AM4/1/17
to sage-devel
Oddly, it always seems to affect the first defined variable apart from x.

Thanks for the bug report.

TB

unread,
Jun 21, 2017, 6:18:06 AM6/21/17
to sage-...@googlegroups.com, Tobias Rossmann
It seems the change in behaviour was introduced in
https://trac.sagemath.org/ticket/21827. In the mean time, one might want
to set the order to positive infinity:

sage: var('x y0 y1')
(x, y0, y1)
sage: y0.series(x)
1*x + Order(x^20)
sage: y0.series(x, +oo)
(y0)

I am not familiar with Pynac internals, so I am not sure what should be
the fix.

Regards,
TB
> --
> You received this message because you are subscribed to the Google
> Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to sage-devel+...@googlegroups.com
> <mailto:sage-devel+...@googlegroups.com>.
> To post to this group, send email to sage-...@googlegroups.com
> <mailto:sage-...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

Ralf Stephan

unread,
Jun 21, 2017, 8:41:12 AM6/21/17
to sage-devel, tobias....@gmail.com
Fixed in the upcoming beta12, see
https://trac.sagemath.org/ticket/23134
Reply all
Reply to author
Forward
0 new messages