Is this a bug of the Julia function "unique"?

It is a bug because unique is documented to use isequal and

julia> isequal([1, NaN, 3], [1, NaN, 3])
true

https://github.com/JuliaLang/julia/pull/42737

12 Likes