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

Avoid divide by zero error #458

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Conversation

erickgalinkin
Copy link
Collaborator

Check that x["total"] > 0 before assigning values, just in case.

Copy link
Owner

@leondz leondz left a comment

Choose a reason for hiding this comment

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

lgtm

@leondz leondz merged commit 0495d11 into leondz:main Feb 8, 2024
1 check passed
@leondz leondz deleted the report_div_zero branch February 8, 2024 14:30
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants