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

Convert remaining np.bool to bool #258

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Convert remaining np.bool to bool #258

merged 1 commit into from
Mar 19, 2024

Conversation

taldcroft
Copy link
Member

Description

Convert two remaining instances of np.bool to bool.

See: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. These deprecations are errors as of numpy 1.26. The code here is not covered in unit testing unfortunately.

Interface impacts

None

Testing

Unit tests

  • Mac

Independent check of unit tests by [REVIEWER NAME]

  • [PLATFORM]:

Functional tests

No functional testing.

@taldcroft
Copy link
Member Author

For this PR we can ignore the ruff failure.

Copy link
Contributor

@javierggt javierggt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me. I checked that these are the only instances of this in cheta. I'm running the tests, but I expect no issues.

@taldcroft taldcroft merged commit 35a92b1 into master Mar 19, 2024
1 of 2 checks passed
@taldcroft taldcroft deleted the fix-np-bools branch March 19, 2024 14:05
This was referenced Apr 17, 2024
@javierggt javierggt mentioned this pull request May 1, 2024
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.

2 participants