On Wednesday, September 7, 2016 at 11:10:48 AM UTC+2, slelievre wrote: > > The problem is that subtracting `r2 - 3 * r^2` yields an expression > whose expression tree no longer contains `(x^2 + y^2 + z^2)`. >
I consider it a bug and an equivalent case is substituting in the denominator, the fix of which needs review: https://trac.sagemath.org/ticket/21071 sage: ((1+x^2)/x^2).subs({x^2: 42}) 43/x^2 Thanks for the report. -- You received this message because you are subscribed to the Google Groups "sage-support" 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-support. For more options, visit https://groups.google.com/d/optout.
