Comment #2 on issue 1211 by plaes800: Getting a value of a function does
not work or is not possible
http://code.google.com/p/sympy/issues/detail?id=1211
In [1]: f = x**2
In [2]: type(f)
Out[2]: <class 'sympy.core.power.Pow'>
In [3]: f(2)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/plaes/code/sympy/<ipython console> in <module>()
/home/plaes/code/sympy/sympy/core/basic.py in __call__(self, *args,
**removeme)
1936 def __call__(self, *args, **removeme):
1937 from function import Function
-> 1938 return Function(self[0])(*args)
1939
1940 def __float__(self):
TypeError: 'Pow' object is unindexable
Still bad :(
--
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
-~----------~----~----~----~------~----~------~--~---