Skip to content

Conversion of PowerSeries -> SR bug #10846

@vbraun

Description

@vbraun

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions