Updates:
Labels: EasyToFix
Comment #7 on issue 1784 by [email protected]: ((x - 2)**2).match((x -
a)**2) fails
http://code.google.com/p/sympy/issues/detail?id=1784
Using signsimp on expr and pattern would fix this, I believe:
signsimp((2-x)**2)
(x - 2)**2
a=Wild('a')
signsimp((x-a)**2)
(x - a_)**2
signsimp((-x+a)**2)
(x - a_)**2
--
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.