#4626: error in bessel_J(0,0)
------------------------------+---------------------------------------------
Reporter: zimmerma | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.1
Component: basic arithmetic | Keywords:
------------------------------+---------------------------------------------
{{{
sage: bessel_J(0,0)
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (284, 0))
---------------------------------------------------------------------------
PariError Traceback (most recent call
last)
/users/cacao/zimmerma/.sage/temp/achille.loria.fr/2662/_users_cacao_zimmerma__sage_init_sage_0.py
in <module>()
----> 1
2
3
4
5
/usr/local/sage-3.1.4/sage/local/lib/python2.5/site-
packages/sage/functions/special.pyc in bessel_J(nu, z, algorithm, prec)
522 K = C
523 K = z.parent()
--> 524 return K(pari(nu).besselj(z, precision=prec))
525 elif algorithm=="scipy":
526 if prec != 53:
/usr/local/sage-3.1.4/sage/local/lib/python2.5/site-
packages/sage/libs/pari/gen.so in sage.libs.pari.gen._pari_trap
(sage/libs/pari/gen.c:34447)()
7864
7865
-> 7866
7867
7868
PariError: (8)
}}}
The other non-default algorithms (maxima and scipy) return the correct
answer 1.0000...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4626>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---