iszero(x::Line) compares x == zero(::Line) with == defaults to ===, so really you need to define == to actually compare fields value
3 Likes
iszero(x::Line) compares x == zero(::Line) with == defaults to ===, so really you need to define == to actually compare fields value