Comment #5 on issue 1429 by asmeurer: matches fails to match differential
equation
http://code.google.com/p/sympy/issues/detail?id=1429
This is an even simpler version of the problem.
a = Wild('a', exclude=[f(x)])
b = Wild('b')
p = a*f(x) + b
eq1 = sin(x)
eq2 = f(x) + sin(x)
eq3 = f(x) + x + sin(x)
eq4 = x + sin(x)
print eq1.match(p)
print eq2.match(p)
print eq3.match(p)
print eq4.match(p) # This one does not work
--
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
-~----------~----~----~----~------~----~------~--~---