-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
regression: NotImplementedError: operator '*' not implemented for bool dtypes #7210
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
on purpose should be using |
Could that be added in the error message? (that you can use |
sure...I don't think that's hard, FYI I don't think their is an analog for @cpcloud can you change that error message a bit? |
Dure |
I mean sure |
oh well -- just don't get surprised then whenever people with stock scipy would complain that they can't even do a ttest now (whenever it was working before)... FWIW -- scipy has refactored that code I believe in v0.11.0b1~20^2, so only wheezy and precise (among sensible) would be affected. |
"sure...I don't think that's hard, FYI I don't think their is an analog for |, is there?" Isn't that simply |
its not
|
aha but:
|
interesting. @cpcloud another possibility is to try to detect these condition and then just do the eval in python space (which will work I guess), maybe with a warning? |
i pretty much do that now ... but i raise instead of continuing on |
so i'll change it |
I had the dtype=bool behaviour in mind, but even apart from that, while |
What do we do with this one? Ideally this would be handled for 0.14 (as this is introduced in 0.14) |
@jorisvandenbossche agreed i'll have something up tonight |
maybe easiest to do a translation, warning then evaluate it? |
yep something like:
|
@cpcloud PR for this? |
Yep sorry got a bit sidetracked practicing my talk. :) should have something by lunch. |
so really this should just be |
yep |
interesting never really figured out what
|
|
ah right ... thanks that helps actually (simplifies the error message) |
thanks @cpcloud ! |
np happy to help |
seemed to work just fine (with 0.13.1) and I do not see why it should not if you are decorating numpy arrays here:
The text was updated successfully, but these errors were encountered: