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

edge case fix #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

edge case fix #18

wants to merge 3 commits into from

Conversation

ConnorWM97
Copy link
Contributor

just thought of making a catch for if there is an empty sentence or list so it doesn't divide by zero.

@dogweather
Copy link
Member

Thank you @ConnorWM97. Would you be able to write a test for this? Like, tested with an input that would have caused divide by zero but now returns 0.0?

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