Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1482 by smichr: LambertW evalf with E in arg
http://code.google.com/p/sympy/issues/detail?id=1482
E can be evaluated, LambertW(1) can, too, but not LambertW(1+E):
>>> E.evalf()
2.71828182845905
>>> LambertW(1).evalf()
0.567143290409784
>>> LambertW(1 + E).evalf()
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "core\evalf.py", line 1013, in Basic_evalf
v = x._eval_evalf(prec)
File "core\function.py", line 227, in _eval_evalf
args = [arg._to_mpmath(prec) for arg in self.args]
File "core\basic.py", line 1997, in _to_mpmath
v = self._eval_evalf(prec)
File "core\basic.py", line 1990, in _seq_eval_evalf
return self.__class__(*[s._evalf(prec) for s in self.args])
File "core\basic.py", line 1981, in _evalf
r = self._eval_evalf(prec)
File "core\numbers.py", line 1297, in _eval_evalf
return Real._new(self._as_mpf_val(prec), prec)
File "core\numbers.py", line 1369, in _as_mpf_val
return mlib.fe(prec)
AttributeError: 'module' object has no attribute 'fe'
/c
--
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
-~----------~----~----~----~------~----~------~--~---