SJ001 / AI-Feynman

MIT License
607 stars 186 forks source link

LinAlgError: Array must not contain infs or NaNs #56

Open leebox opened 2 years ago

leebox commented 2 years ago

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 commented 1 year ago

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?