-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Description
If I convert a powerseries into the symbolic ring, it does not have any variables.
sage: R.<x> = PowerSeriesRing(QQ)
sage: s = R([1,2,3,4,5],prec=10)
sage: s
1 + 2*x + 3*x^2 + 4*x^3 + 5*x^4 + O(x^10)
sage: SR(s)
1 + 2*x + 3*x^2 + 4*x^3 + 5*x^4 + O(x^10)
sage: SR(s).variables()
()
Running simplify() fixes it:
sage: SR(s).simplify().variables()
(x,)
Component: symbolics
Author: Ralf Stephan
Branch/Commit: 26df71b
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/10846