Skip to content

Commit 53d831b

Browse files
committed
Reversed DotProduct to PreMetric
1 parent 53864bd commit 53d831b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/distances/dotproduct.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
struct DotProduct <: Distances.SemiMetric end
1+
struct DotProduct <: Distances.PreMetric end
22

33
@inline function Distances._evaluate(::DotProduct, a::AbstractVector{T}, b::AbstractVector{T}) where {T}
44
@boundscheck if length(a) != length(b)

0 commit comments

Comments
 (0)