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

Bug when EFG tensor is zero #11

Open
tfgg opened this issue May 19, 2014 · 0 comments
Open

Bug when EFG tensor is zero #11

tfgg opened this issue May 19, 2014 · 0 comments
Labels

Comments

@tfgg
Copy link
Owner

tfgg commented May 19, 2014

Following reported by Andrew Morris:

I've had magres-format generate an error.
"/home/ajm255/lib/python2.7/site-packages/magres/constants.py:17:
RuntimeWarning: invalid value encountered in double_scalars
return (eval[2], (eval[0]-eval[1])/eval[2])"

I know very little Python, but I seem to be able to generate it when
an efg tensor is exactly zero, see attached. Presumably this is
causing numpy to have problems finding its eigenvalues? In
constants.py: sorted_evals(mat)?

@tfgg tfgg added the bug label May 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant