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 use of deprecated scipy function #109

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Fix use of deprecated scipy function #109

merged 1 commit into from
Jun 25, 2024

Conversation

ZedThree
Copy link
Collaborator

scipy.integrate.cumtrapz was removed in SciPy 1.14 (released yesterday). It's been a synonym for cumulative_trapezoid for awhile, so fixing it is trivial

@ZedThree
Copy link
Collaborator Author

The benchmarks are failing because the before version doesn't work with scipy 1.14

@bendudson
Copy link
Collaborator

Do we want to add a try...catch to fall back to the old import?

@ZedThree
Copy link
Collaborator Author

I was worried about that, but this was actually renamed in 1.6.0 which is now unsupported, so I think we're safe

@ZedThree ZedThree merged commit 1482181 into master Jun 25, 2024
8 of 9 checks passed
@ZedThree ZedThree deleted the fix-scipy branch June 25, 2024 15:35
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