-
-
Notifications
You must be signed in to change notification settings - Fork 11k
Structured arrays containing NaNs are not considered equal by numpy.testing.assert_array_equal() #8192
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
Hmm, doesn't work for |
Note that |
Related to #9023 |
Pushing this off, it should get fixed when #8157 goes in. |
This is still broken in 1.16.4 Doesn't seem to have been fixed by #8157
|
We would have to define a new |
* Includes tests * Needed because of this issue in numpy: numpy/numpy#8192
* Includes tests * Needed because of this issue in numpy: numpy/numpy#8192
* Includes tests * Needed because of this issue in numpy: numpy/numpy#8192
* Includes tests * Needed because of this issue in numpy: numpy/numpy#8192
Same as gh-21539, closing this one. |
numpy.testing.assert_array_equal is supposed to accept NaN values as equal. This seems to work fine for normal arrays but not for arrays with structured dtypes:
The result from assert_equal is identical. Tested using numpy 1.11.2 on python 2.7.12 and 3.5.2.
The text was updated successfully, but these errors were encountered: