-
-
Notifications
You must be signed in to change notification settings - Fork 11k
RuntimeWarning for np.array with NaN #11029
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
Comments
Might be related to #10370 |
Did you install numpy from pip install or using the package manager of your distribution (in both cases) |
This seems strange to me, can anyone reproduce? |
Reliably displaying |
How do we label third-party issues reported here? |
@tzickel i installed in both cases using anaconda. |
I reported the same difference 7 vs 8 in #10370 (comment) |
Until numpy==1.14.3, there was no RuntimeWarning for With numpy==1.14.4, there's a RuntimeWarning for that case. |
There was a bug that not only didn't warn, it sometimes and on some platforms ignored the |
The issue was in spyder, and was fixed there. |
Uh oh!
There was an error while loading. Please reload this page.
When i run the code
A = np.full(7, np.nan)
there is no issue.
When i run
A = np.full(8, np.nan)
and for any array larger than that, i get the warnings:
i use spyder 3.2.6, python 3.6.4, numpy 1.14.0
I have this warning on one of my computers (running CentOS Linux 7), but not on the other (running Ubuntu 16.04)
Cannot figure out where the different comes from. Any ideas?
The text was updated successfully, but these errors were encountered: