Skip to content

Comments

Fix 'divide by zero' possibility#2

Open
mikemonteith wants to merge 1 commit intoariok:masterfrom
mikemonteith:master
Open

Fix 'divide by zero' possibility#2
mikemonteith wants to merge 1 commit intoariok:masterfrom
mikemonteith:master

Conversation

@mikemonteith
Copy link

If p1 and p2 are equal, avoid dividing by zero by returning. Solves #1

If p1 and p2 are equal, avoid dividing by zero by returning.
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.

1 participant