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

PLegendre & PLegendreA crash kernel if z > 1 #9

Closed
elmerehbi opened this issue Dec 12, 2015 · 2 comments
Closed

PLegendre & PLegendreA crash kernel if z > 1 #9

elmerehbi opened this issue Dec 12, 2015 · 2 comments

Comments

@elmerehbi
Copy link

I am reporting the crash caused by using z > 1 for PLegendre & PLegendreA:

Error --- PLegendreA
 ABS(Z) must be less than or equal to 1.
 Input value is    2.0000000000000000

It should be able to report the error to the user but not crash the kernel. Ipython notebook reports the kernel failed and will restart while ipython in the terminal completely crashes.

@MMesch
Copy link
Member

MMesch commented Dec 12, 2015

This is unfortunately not possible right now because the Exception is thrown by Fortran. I agree though that it would be nice to change this!

@MarkWieczorek
Copy link
Member

I'm going to close this issue. As much as we would like to fix this, this is a fortran-python issue. If you know how to do this better, please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants