Skip to content

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

Merged
TomDonoghue merged 2 commits into
mainfrom
nans
Jul 19, 2024
Merged

[MNT] - Fix use of nans in test for new numpy#333
TomDonoghue merged 2 commits into
mainfrom
nans

Conversation

@TomDonoghue
Copy link
Copy Markdown
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
@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