-
Notifications
You must be signed in to change notification settings - Fork 9
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
gh-384: rename all internal functions to trapezoid
over trapz
#392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe better to carry on agreeing with the scipy name, i.e., now cumulative_trapezoid
?
Sure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This, @paddyroddy! Could you fix the git history?
We're squash merging... I don't see the benefit |
For reference, this happened because the head was #391. I do think tidying this is a waste of dev time with squash merging enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough, everything should be fine as long as the commit message of the squashed commit does not reflect this history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
I just realised that I thought we were testing the cumulative trapezoid by chopping the array down to 1, 2, 3, ... elements, not scipy. Maybe a change for the future to get rid of that dependency.
Closes #384. Blocked by #391.
Keeping in line with
NumPy v2
renamingnp.trap
tonp.trapezoid
. It was agreed to change the internal name of functions to avoid potential confusion.