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

Fix tests and docstrings to work with new numpy 2.0 #296

Merged
merged 7 commits into from
Jul 22, 2024
Merged

Conversation

joefowler
Copy link
Member

Numpy 1.x is still allowed (for >= 1.14), but tests won't pass unless you use numpy 2.0. We consider this acceptable, as normal users don't run tests, and the power users and CI system will all be using numpy 2.

Numpy 2.0 was failing the regression tests on the drift-correct step. This is not a true regression but a different choice of "optimum" in a function that has no single minimum. Choose to broaden the acceptance criteria. Fixes #295.
@joefowler joefowler requested a review from ggggggggg July 22, 2024 19:00
@joefowler
Copy link
Member Author

Fixes #295.

@joefowler joefowler merged commit 3827a3f into master Jul 22, 2024
4 checks passed
@joefowler joefowler deleted the fixtest_numpy2 branch July 22, 2024 19: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.

2 participants