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 test_sum to be more numerically correct #290

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

asmeurer
Copy link
Member

Fixes #168

… sum/cumulative_sum/prod

This isn't completely rigorous (I haven't tweaked the tolerances used in
isclose from the generous ones we were using before), but I haven't gotten
hypothesis to find any bad corner cases for this yet. If any crop up we can
easily tweak the values.

Fixes data-apis#168
@asmeurer asmeurer marked this pull request as ready for review October 2, 2024 22:25
@asmeurer asmeurer merged commit b905bca into data-apis:master Oct 2, 2024
4 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.

test_sum can fail with unstable summation
1 participant