Updates:
        Status: Invalid

Comment #1 on issue 1295 by goriccardo: Basic class depends on Function and  
vice versa
http://code.google.com/p/sympy/issues/detail?id=1295

Thanks for the report. This is fixed in trunk.
In [1]: f = x**2

In [2]: f(2)
TypeError: argument must be a dictionary


Actually calling f(2) is not allowed, you can use:
>>> f({x:2})
or
>>> f.subs(x,2)
or use a Lambda function
In [1]: f = Lambda(x, x**2)

In [2]: f(2)
Out[2]: 4

See also the mailing list threads:
http://groups.google.com/group/sympy/browse_thread/thread/533017c5d941d67a
http://groups.google.com/group/sympy-patches/browse_thread/thread/628ebc799ee57ec1/

I'm closing this as Invalid

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