Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect value returned by hyp1f1() (Trac #914) #1441

Closed
scipy-gitbot opened this issue Apr 25, 2013 · 1 comment
Closed

Incorrect value returned by hyp1f1() (Trac #914) #1441

scipy-gitbot opened this issue Apr 25, 2013 · 1 comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Migrated from Trac
Milestone

Comments

@scipy-gitbot
Copy link

Original ticket http://projects.scipy.org/scipy/ticket/914 on 2009-04-06 by trac user lckarssen, assigned to unknown.

I tried to use special.assoc_laguerre(x,n,k) today and noticed that it returns 0.0 for n=0. However, it should return 1.0 (I used Mathematica to verify as well as a textbook).
Looking at the code, I noticed that special.hyp1f1(a,b,x) which is called by assoc_laguerre() returns 0.0 for a=0, whereas it should return 1.0 (only verified by Mathematica). I tried to look for the code of hyp1f1(), but couldn't find it.

Furthermore, I noticed that assoc_laguerre() doesn't have a docstring explaining it's usage. It might be nice to at least point to special.laguerre().

The tests were done on a 32bit install of Ubuntu 8.10, which ships scipy 0.6.0

@scipy-gitbot
Copy link
Author

@pv wrote on 2009-04-07

Duplicate of gh-1314, gh-992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Migrated from Trac
Projects
None yet
Development

No branches or pull requests

1 participant