Status: Accepted
Owner: skr...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 2349 by skr...@gmail.com: Match p**(s-x) for s!=x should return p=x
http://code.google.com/p/sympy/issues/detail?id=2349

(p**(s-x)).match(1) == {p:1} #for s=Wild('s', exclude=[x])

A first draft patch for this issue is provided (although commented) for revision and comments in patch for issue 2347.

Only two test fails, one provided by me, and the problem is that this patch changes the output of simplify (adding minus sign at the beginning) and one related to the evaluation of an infinite sum in which a division by zero is raised.


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to