Skip to content

Avoid division by zero which triggers exception. #12

Open
ritzdorf wants to merge 3 commits intoArachnid:masterfrom
ritzdorf:master
Open

Avoid division by zero which triggers exception. #12
ritzdorf wants to merge 3 commits intoArachnid:masterfrom
ritzdorf:master

Conversation

@ritzdorf
Copy link

Compare values that are supposed to be zero directly to zero. Otherwise there is a division by zero in sign().

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