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

Port np.trapz into umath since it will be removed in a future version of numpy #228

Merged
merged 2 commits into from Dec 8, 2023

Conversation

zm711
Copy link
Contributor

@zm711 zm711 commented Oct 16, 2023

I just built on top of my other PR #227, so that should be merged first.

I just did a straight port of the numpy implementation, and since the docstring will likely be removed I copied over the docstring as well. This way the behavior stays exactly the same as it was before for users. But if you want a different strategy feel free to close @apdavison.

@apdavison apdavison merged commit 0252aa1 into python-quantities:master Dec 8, 2023
30 of 31 checks passed
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.

None yet

2 participants