#10846: Conversion of PowerSeries -> SR bug
-------------------------+--------------------------------------------------
   Reporter:  vbraun     |       Owner:  burcin  
       Type:  defect     |      Status:  new     
   Priority:  major      |   Milestone:  sage-4.7
  Component:  symbolics  |    Keywords:          
     Author:             |    Upstream:  N/A     
   Reviewer:             |      Merged:          
Work_issues:             |  
-------------------------+--------------------------------------------------
 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,)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10846>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to