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

Compatibility with NumPy 2.0 #33

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Compatibility with NumPy 2.0 #33

merged 1 commit into from
Jun 19, 2024

Conversation

jkanche
Copy link
Member

@jkanche jkanche commented Jun 19, 2024

Notes from NumPy 2.0 release:

If using np.array(obj, copy=False) replace it with np.asarray(obj) to allow a copy when needed (no behavior change in NumPy 1.x).
For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.

@jkanche jkanche self-assigned this Jun 19, 2024
@jkanche jkanche merged commit f3c80d2 into master Jun 19, 2024
8 checks passed
@jkanche jkanche deleted the numpy2-compat branch June 19, 2024 14:31
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.

1 participant