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

MAINT: numpy.trapz is deprecated; use scipy.integrate.trapezoid #623

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

rrjbca
Copy link
Contributor

@rrjbca rrjbca commented Aug 9, 2024

Description

numpy.trapz is deprecated; use scipy.integrate.trapezoid instead. Note that in numpy 2.0 the alias numpy.trapezoid was added, but to maintain backwards compatibility with numpy 1.x we follow the suggestion of using the scipy method instead.

Checklist

  • Follow the Contributor Guidelines
  • Write unit tests
  • Write documentation strings
  • Assign someone from your working team to review this pull request
  • Assign someone from the infrastructure team to review this pull request

@rrjbca rrjbca requested a review from a team as a code owner August 9, 2024 07:43
@rrjbca rrjbca merged commit 693edbc into skypyproject:main Aug 9, 2024
6 checks passed
@rrjbca rrjbca deleted the trapezoid branch August 9, 2024 08:00
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.

1 participant