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 potential divide by zero error in score calculation #684

Merged
merged 1 commit into from
Feb 9, 2025

Conversation

dynobo
Copy link
Owner

@dynobo dynobo commented Feb 9, 2025

Ensure the score calculation avoids division by zero by using a minimum value for breaks.

@dynobo dynobo force-pushed the feature/fix-potential-divided-by-zero branch from 94cb10f to 4f67cf6 Compare February 9, 2025 19:28
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 87.002%. remained the same
when pulling 4f67cf6 on feature/fix-potential-divided-by-zero
into 2570c0c on main.

@dynobo dynobo merged commit c7b17ed into main Feb 9, 2025
20 checks passed
@dynobo dynobo deleted the feature/fix-potential-divided-by-zero branch February 9, 2025 19:35
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.

2 participants