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 max_to and min_to edge case with negative zero #380

Merged
merged 2 commits into from
Jan 20, 2023

Conversation

ViliamVadocz
Copy link
Contributor

Closes #379

The fix was adapted from the StackOverflow answer mentioned in the issue.
I also added two tests that failed before and now succeed.

@ViliamVadocz
Copy link
Contributor Author

Do I need to do anything to make the coverage pass?

@coreylowman
Copy link
Owner

Do I need to do anything to make the coverage pass?

Nah sometimes it just fails, I've been thinking about removing it, not sure how much coverage matters anyway

Copy link
Owner

@coreylowman coreylowman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fixes and thanks for the new tests! 🚀

@coreylowman coreylowman merged commit a45e2a1 into coreylowman:main Jan 20, 2023
@ViliamVadocz ViliamVadocz deleted the fix-max-to branch February 4, 2023 00:29
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.

Max_to cuda kernel bug with negative zero
2 participants