Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1626 by ondrej.certik: match fails for Add sometimes
http://code.google.com/p/sympy/issues/detail?id=1626

In [1]: e = (1/sin(x)).series(x, 0, 6).removeO()

In [2]: e
Out[2]:
            3
x   1   7⋅x
─ + ─ + ────
6   x   360

In [3]: a = Wild("a", exclude=[x])

In [4]: c = Wild("c", exclude=[x])

In [5]: e.match(a/x + c)

In [6]: e.args[0].match(a/x + c)
Out[6]: {a: 1, c: 0}


[6] is fine, but [5] should also match.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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