Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Low Milestone-Release0.7.2 Python3
New issue 2590 by [email protected]: jn_zeros in
functions/special/bessel.py should return SymPy Floats, not Python floats
http://code.google.com/p/sympy/issues/detail?id=2590
I've encountered this while doing my porting, and Tom (ness) on IRC feels
this is an underlying issue that should be fixed.
type(jn_zeros(1,1)[0])
<type 'float'>
It should return a Float.
Assigning this to Tom (per his request) as he's familiar with the code.
This is related to Python 3 porting too, because the doctest for the
function uses nprint from mpmath, which doesn't work with floats (is this a
bug with mpmath then?), and the floats in Python 3 are printed with higher
precision, causing the doctest to fail.
--
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.