#21071: substitution in denomintor is skipped
----------------------------+-------------------------
       Reporter:  dkrenn    |         Type:  defect
         Status:  new       |     Priority:  major
      Milestone:  sage-7.3  |    Component:  symbolics
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:
----------------------------+-------------------------
 The following comes very unexpected
 {{{
 sage: ((1+x^2)/x^2).subs({x^2: 42})
 43/x^2
 }}}

 The problem is the internal representation as
 {{{
 sage: ((1+x^2)/x^2).operands()
 [x^2 + 1, x^(-2)]
 }}}

--
Ticket URL: <https://trac.sagemath.org/ticket/21071>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to