-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Error when equating a masked and non-masked structured array #3840
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
For the record, I see the same behaviour on 1.7.1, so doesn't seem to be a |
This is probably fixed in #8590 |
A variant of this bug persists in 1.14-dev:
Ultimately, the issue is that the return type of
We're kind of stuck here though - we can't really do anything other than allocate a full mask array in |
Still a bit similar. It now fails because the masks cannot be compared (because we don't allow comparing sturctured and non-structured dtypes at the moment). There, the problem is that the mask is |
Gonna close this, because this works now. That doesn't mean it makes a lot of sense. Because masked arrays have structured masks, and I dunno if it is right to consider a structured equality result as not-masked if there is any non-masked entry in the structured element. |
Uh oh!
There was an error while loading. Please reload this page.
I see the following error with the latest version of Numpy (1.8.0rc1):
Old (outdated) traceback
I think the correct behavior internally should be equivalent to:
The text was updated successfully, but these errors were encountered: