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

LinAlgError: Array must not contain infs or NaNs #56

Open
leebox opened this issue Nov 15, 2021 · 1 comment
Open

LinAlgError: Array must not contain infs or NaNs #56

leebox opened this issue Nov 15, 2021 · 1 comment

Comments

@leebox
Copy link

leebox commented Nov 15, 2021

206 for a in arrays:
207 if not isfinite(a).all():
--> 208 raise LinAlgError("Array must not contain infs or NaNs")
209
210 def _is_empty_2d(arr):

LinAlgError: Array must not contain infs or NaNs

@ahmad-u
Copy link

ahmad-u commented Feb 7, 2023

I am having the same issue with my data. It throws "LinAlgError: Array must not contain infs or NaNs" error as the data in the text file is close to zero.
any solution?

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

2 participants