Skip to content

Replace deprecated np.NaN with np.nan#361

Merged
quaquel merged 1 commit intomasterfrom
np-nan
May 24, 2024
Merged

Replace deprecated np.NaN with np.nan#361
quaquel merged 1 commit intomasterfrom
np-nan

Conversation

@EwoutH
Copy link
Copy Markdown
Collaborator

@EwoutH EwoutH commented May 24, 2024

np.NaN will be removed in NumPy 2.0. This PR replaces it with np.nan.

Closes #360. Backport candidate.

np.NaN will be removed in NumPy 2.0.
@EwoutH
Copy link
Copy Markdown
Collaborator Author

EwoutH commented May 24, 2024

And the CI is fully green again!

@quaquel quaquel merged commit 19165dd into master May 24, 2024
@quaquel quaquel deleted the np-nan branch May 24, 2024 13:34
EwoutH added a commit that referenced this pull request May 24, 2024
np.NaN will be removed in NumPy 2.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update code to be ready for NumPy 2.0

2 participants