Skip to content

Commit a6159e1

Browse files
committed
Solved tests for dotproduct
1 parent 2234d4f commit a6159e1

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,7 +1,7 @@
11
struct DotProduct <: Distances.PreMetric end
22
# struct DotProduct <: Distances.UnionSemiMetric end
33

4-
@inline function Distances._evaluate(::DotProduct, a::AbstractVector{T}, b::AbstractVector{T}) where {T}
4+
@inline function Distances._evaluate(::DotProduct, a::AbstractVector, b::AbstractVector)
55
@boundscheck if length(a) != length(b)
66
throw(DimensionMismatch("first array has length $(length(a)) which does not match the length of the second, $(length(b))."))
77
end

0 commit comments

Comments
 (0)