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
Thanks for this package!
Calling hash on a Decimal fails in julia 1.5.3:
julia> p =parse(Decimal, "0.1")
Decimal(0, 1, -1)
julia> hash(p)
ERROR: MethodError: no method matching decompose(::Decimal)
Which effectively prevents many other important methods, such as unique:
julia> unique([p,p])
ERROR: MethodError: no method matching decompose(::Decimal)
Closest candidates are:
decompose(::BigFloat) at hashing2.jl:195
decompose(::Float64) at hashing2.jl:184
decompose(::Float32) at hashing2.jl:173
The text was updated successfully, but these errors were encountered:
Thanks for this package!
Calling
hash
on a Decimal fails in julia 1.5.3:Which effectively prevents many other important methods, such as unique:
The text was updated successfully, but these errors were encountered: