Comment #3 on issue 1102 by [email protected]: _subs_dict doesn't works with
functions
http://code.google.com/p/sympy/issues/detail?id=1102
This doesn't work again:
xp = f(x)+g(x)
xp.subs({f:h,g:i})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sympy\core\basic.py", line 767, in subs
return self._subs_dict(sequence)
File "sympy\core\basic.py", line 850, in _subs_dict
if expr.has(pattern[0]):
TypeError: unbound method has() must be called with f instance as first
argument
(got UndefinedFunction instance instead)
--
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.