Status: Accepted Owner: hazelnusse Labels: Type-Defect Priority-Medium New issue 1540 by hazelnusse: match returns nan instead of 0 http://code.google.com/p/sympy/issues/detail?id=1540
Python 2.6.2 console for SymPy 0.6.5.rc2-git In [1]: from sympy import I, oo, Wild, pi In [2]: arg = I*oo In [3]: a = Wild('a', exclude=[pi]) In [4]: b = Wild('b', exclude=[pi]) In [5]: arg.match(a+b*pi) Out[5]: {a_: (oo)*I, b_: nan} In [6]: The result should be: >>> arg.match(a+b*pi) {a_: (oo)*I, b_: 0} -- 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 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 -~----------~----~----~----~------~----~------~--~---