JuliaMath / JuliaMath/IntervalSets.jl

`hash` definition is not correct

Open
#167 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
109
Forks
29
PR merge metrics
No merged PRs in 30d

Description

x-ref: https://github.com/JuliaMath/IntervalSets.jl/pull/28#issuecomment-1513607361

```julia
julia> using IntervalSets

julia> hash(1..2)
0x3932a21170706f90

julia> hash(OpenInterval(1,2)) # should be different
0x3932a21170706f90

julia> isequal(2..1, 3..1)
true

julia> unique([2..1, 3..1]) # should be 1-element
2-element Vector{ClosedInterval{Int64}}:
2 .. 1
3 .. 1
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.