Skip to content

Division by zero when finding third point. #46

@projectPythonator

Description

@projectPythonator

when finding the third point which forms the smallest circumcircle with the first two, I noticed if 3 points happen to be vertically or horizontally collinear, d will get checked too late to prevent a division by zero. probably a rare case if using floats but just something I noticed (unless I missed the collinear check somewhere.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions