We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53864bd commit 53d831bCopy full SHA for 53d831b
src/distances/dotproduct.jl
@@ -1,4 +1,4 @@
1
-struct DotProduct <: Distances.SemiMetric end
+struct DotProduct <: Distances.PreMetric end
2
3
@inline function Distances._evaluate(::DotProduct, a::AbstractVector{T}, b::AbstractVector{T}) where {T}
4
@boundscheck if length(a) != length(b)
0 commit comments