-
Notifications
You must be signed in to change notification settings - Fork 303
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
Replace np.bool by np.bool_ #2297
Conversation
np.bool no longer exists in latest numpy, replace with np.bool_.
IIRC, |
Considering the context, |
They actually have the same effect:
So, why switch? For consistency with the rest of the record array definition. |
Codecov Report
@@ Coverage Diff @@
## main #2297 +/- ##
=======================================
Coverage 94.35% 94.35%
=======================================
Files 310 310
Lines 46468 46468
=======================================
Hits 43843 43843
Misses 2625 2625
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Replace np.float by np.float_ and np.str by np.str_, as that is very likely what was intended.
The remaining failures are due to libtiff. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
np.bool no longer exists in latest numpy, replace with np.bool_.