OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
210 stars 67 forks source link

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

Closed swryan closed 4 months ago

swryan commented 4 months ago

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