Skip to content
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

Changed np.bool to np.bool_ as those have been depreciated. #107

Merged
merged 7 commits into from
Jun 22, 2023

Conversation

harshcurious
Copy link
Contributor

https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations
Note that there a difference between the two. np.bool was actually just an alias for the built-in bool, whereas np.bool_ is a numpy scalar. The np.bool_ is stored as a byte and is not a subclass of the int_ type. Ref: https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.bool_

@jankrepl
Copy link
Owner

@harshcurious thank you for the PR!

LGTM note that the CI is failing because of unrelated issues. If that is ok for you I will add a couple of commits to this branch to fix it (once I have some time:).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants