Status: Accepted
Owner: ondrej.c...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 2320 by ondrej.c...@gmail.com: hydrogen doctest failures
http://code.google.com/p/sympy/issues/detail?id=2320

I am getting hydrogen doctest failures on my machine:

_________________________ sympy.physics.hydrogen.R_nl __________________________ File "/home/certik1/repos/sympy/sympy/physics/hydrogen.py", line 32, in sympy.physics.hydrogen.R_nl
Failed example:
    R_nl(3, 0, r)
Expected:
    2*3**(1/2)*(3 - 2*r + 2*r**2/9)*exp(-r/3)/27
Got:
    -2*3**(1/2)*(1 - (2 - 2*r/3)*(4 - 2*r/3)/2)*exp(-r/3)/27
**********************************************************************
File "/home/certik1/repos/sympy/sympy/physics/hydrogen.py", line 41, in sympy.physics.hydrogen.R_nl
Failed example:
    R_nl(3, 0, r, Z=47)
Expected:
    94*141**(1/2)*(3 - 94*r + 4418*r**2/9)*exp(-47*r/3)/27
Got:
    -94*141**(1/2)*(1 - (2 - 94*r/3)*(4 - 94*r/3)/2)*exp(-47*r/3)/27

============= tests finished: 2 passed, 1 failed, in 1.07 seconds ==============
DO *NOT* COMMIT!



I'll try to bisect it to see where this is coming from. If it's Python version related issue, or some changes inside sympy.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to