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: add a check in the divide #8

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

xiaofengleo
Copy link
Contributor

fix by divide by zero.
add a check in the divide method to ensure the denominator is not zero before performing the division. Line 17-18

fix by divide by zero.
add a check in the divide method.
Line 17-18
@xiaofengleo xiaofengleo requested a review from brunasv June 11, 2024 10:51
Copy link

@brunasv brunasv left a comment

Choose a reason for hiding this comment

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

looks good

@xiaofengleo xiaofengleo merged commit a874505 into Health-RI:develop Jun 11, 2024
2 checks passed
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