Comment #6 on issue 1429 by smichr: matches fails to match differential  
equation
http://code.google.com/p/sympy/issues/detail?id=1429

See issue 1601 for some discussion about this. Once you see the algorithm  
it's easy
to see why it fails...but good luck making any changes to match that don't  
break
anything! It's pretty airtight. What you are seeing is the expected  
behavior and to
change that behavior would mean a whole different philosophy of  
matching...and a lot
more tests.

The bottom line of 1601 is that Most of the time my guess is that one  
should be
putting an exclusion on all wilds consistent with excluding all non-wilds  
in the
pattern, e.g. excluding x alone with keep any symbol from matching x, f(x),  
and
f(x).diff(x) and banning f(x) will keep out f(x) and f(x).diff(x) (which  
has x and
f(x) as arguments).

That's my 2cw, anyway. :-)

/c

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