On Wed, Feb 11, 2009 at 19:11, Ondrej Certik <ond...@certik.cz> wrote:
>
> On Wed, Feb 11, 2009 at 4:55 PM, Ted Horst <ted.ho...@earthlink.net> 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. :)

Well, you should at least raise NotImplementedError until then.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to