Skip to content

piecewiseAffine function crashes when all elements in list are equal #31

@Cavtheman

Description

@Cavtheman

Calling the piecewiseAffine function such that it would draw no line crashes the program.
The issue only appears when all elements in the list are equal.
Calling piecewiseAffine white 1 [(0,0);(0,0);(0,0)] will crash, but piecewiseAffine white 1 [(0,0);(0,0);(0,1)] will not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions