We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently (Distances v0.10.7, Julia 1.8.5) testing equality between metrics parametrised by vectors returns false when comparing two instances, e.g.
false
julia> m = PeriodicEuclidean(ones(1)) PeriodicEuclidean{Vector{Float64}}([1.0]) julia> m == deepcopy(m) false
Would it be possible to extend Base.:== and Base.hash for such cases to return true?
Base.:==
Base.hash
true
(This came up when trying to address JuliaGaussianProcesses/KernelFunctions.jl#492)
The text was updated successfully, but these errors were encountered:
isequal
==
Kernel
No branches or pull requests
Currently (Distances v0.10.7, Julia 1.8.5) testing equality between metrics parametrised by vectors returns
false
when comparing two instances, e.g.Would it be possible to extend
Base.:==
andBase.hash
for such cases to returntrue
?(This came up when trying to address JuliaGaussianProcesses/KernelFunctions.jl#492)
The text was updated successfully, but these errors were encountered: