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

Percentages reduce assert should have an epsilon check instead of checking if it's equal to 1 #19

Open
ghost opened this issue Dec 2, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 2, 2022

I ran into an issue where these percentages:
percentages: [0.1,0.1,0.1,0.3, 0.3, 0.1]
were adding up to
1.0000000000000002
And triggering the assert on line 66.

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

No branches or pull requests

0 participants