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

Replace deprecated numpy function in1d() with isin() #1081

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

swryan
Copy link
Contributor

@swryan swryan commented Jun 27, 2024

Summary

Replaced multiple occurrences of the numpy function in1d(), which was deprecated in NumPy 2.0, with isin() per the NumPy 2.0 Migration Guide.

This will allow NumPy 2.0 compatibility check to pass in the GitHub CI workflow.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@robfalck robfalck merged commit e8f1af6 into OpenMDAO:master Jun 27, 2024
10 checks passed
@swryan swryan deleted the numpy2.0 branch June 27, 2024 18:45
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.

The in1d function has been deprecated for NumPy 2.0. Replace with isin.
2 participants