You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cool. I want to release v4.0 on Monday (choosing a day at random 😂), so I’m happy to merge PRs if the tests pass. Otherwise issues can be addressed for the following release cycle.
Examples of inconsistent behaviors
I am trying to remove method
isless(::Point, ::Point)
as discussed in #300 (comment), and I found some inconsistent behavior inisequal
andisless
.Proposal on removing the tolerances
I think removing these tolerances would be better for the following points.
Specialized
unique
method can be removed.This is related to the following TODO comment.
Luxor.jl/src/point.jl
Lines 160 to 172 in 6c271e9
Base.hash
will be consistent.The
Base.hash
should be consistent withBase.isequal
. Currently,isequal(x::Point, y::Point)
does not implyhash(x)==hash(y)
.https://github.com/JuliaLang/julia/blob/396abe4fdc8615e162462910bfc16729be7c95ed/base/hashing.jl#L5-L9
The text was updated successfully, but these errors were encountered: