Updates:
Status: Valid
Comment #1 on issue 3839 by asmeu...@gmail.com: ceil/ceiling: Difference
between 0.7.2 and 0.7.1
http://code.google.com/p/sympy/issues/detail?id=3839
The evalf has nothing to do with it. Just S("ceil(2.3)") does it. It is
somehow getting confused by the name "ceil", probably due to automatic
evalf lookup.
The parsing is also unrelated
In [4]: Function("ceil")(2.3)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-5705e9025752> in <module>()
----> 1 Function("ceil")(2.3)
/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/function.pyc in
__new__(cls, *args, **options)
623 args = map(sympify, args)
624 result = super(AppliedUndef, cls).__new__(cls, *args,
**options)
--> 625 result.nargs = len(args)
626 return result
627
AttributeError: 'Float' object has no attribute 'nargs'
Probably the automatic evalf name lookup algorithm should be disabled on
undefined Functions. This happens with any "known" function name
In [7]: Function("sin")(2.)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-7-28214059820b> in <module>()
----> 1 Function("sin")(2.)
/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/function.pyc in
__new__(cls, *args, **options)
623 args = map(sympify, args)
624 result = super(AppliedUndef, cls).__new__(cls, *args,
**options)
--> 625 result.nargs = len(args)
626 return result
627
AttributeError: 'Float' object has no attribute 'nargs'
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.