Updates:
        Labels: WrongResult Polynomial

Comment #1 on issue 3138 by [email protected]: polys expanded representation problem
http://code.google.com/p/sympy/issues/detail?id=3138

The reason you have 2**2 is that the poly printer isn't smart enough to put parentheses around an Add generator. If you look carefully, it's just the same as the original poly with "x" replaced with "-y + 2".

Poly should reevaluate the entire thing when this happens. What we have now is wrong, because it assumes that y and -y + 2 are independent generators. Add generators should not be allowed at all.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en.

Reply via email to