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 plotting NaN bug #741

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vlovich
Copy link

@vlovich vlovich commented Nov 9, 2023

When bench returns a very large floating point value, the previous addition of a small number didn't actually result in a changed value. We change this to instead take the next unique value using code from nightly to accomplish this.

Fixes #720

When bench returns a very large floating point value, the previous
addition of a small number didn't actually result in a changed value. We
change this to instead take the next unique value using code from
nightly to accomplish this.
@vlovich
Copy link
Author

vlovich commented Nov 9, 2023

cc @waywardmonkeys / @lemmih

@lemmih
Copy link
Collaborator

lemmih commented Dec 1, 2023

@vlovich Looks good. Can merge if you fix the formatting.

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.

criterion panicking with slice.len() > 1 && slice.iter().all(|x| !x.is_nan())
2 participants