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

[MNT] - Fix use of nans in test for new numpy #333

Merged
merged 2 commits into from
Jul 19, 2024
Merged

[MNT] - Fix use of nans in test for new numpy #333

merged 2 commits into from
Jul 19, 2024

Conversation

TomDonoghue
Copy link
Member

@TomDonoghue TomDonoghue commented Jul 19, 2024

The tests are currently failing as new numpy has deprecated np.NaN, which we use in a couple of our tests. This PR fixes that. Other than our use of these NaN values in our tests, I don't think this switch from numpy should affect anything else.

In addition there is a minor update to a doctest example, to fix an error with doctest being very pedantic with type (float vs numpy float).

@TomDonoghue TomDonoghue merged commit 9d261da into main Jul 19, 2024
7 checks passed
@TomDonoghue TomDonoghue deleted the nans branch July 19, 2024 18:47
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