On Wed, Feb 11, 2009 at 4:55 PM, Ted Horst <[email protected]> wrote: > > I'm not sure if __call__ is supposed to do anything on an expression, > but the following doesn't seem useful: > > >>> import sympy as sp > >>> x = sp.Symbol('x') > >>> e = x**2 -7 > >>> e(4) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/Library/Python/2.5/site-packages/sympy/core/basic.py", line > 1945, in __call__ > return Function(self[0])(*args) > NameError: global name 'Function' is not defined
Thanks for bringing it. We have actually a long thread about it here: http://groups.google.com/group/sympy-patches/browse_thread/thread/628ebc799ee57ec1/ If you'd like to help to get this fixed, it'd be really awesome. I think Lance is not working on this anymore, so this issue is open for anyone to fix. :) Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en -~----------~----~----~----~------~----~------~--~---
