Skip to content

Commit 534e490

Browse files
theogfwilltebbutt
andauthored
Update src/distances/pairwise.jl
Co-authored-by: willtebbutt <[email protected]>
1 parent 160b53c commit 534e490

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/distances/pairwise.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ function pairwise!(
1515
broadcast!(d, out, X, Y')
1616
end
1717

18-
pairwise!(out::AbstractMatrix, d::PreMetric, X::AbstractVector) =
19-
pairwise!(out, d, X, X)
18+
pairwise!(out::AbstractMatrix, d::PreMetric, X::AbstractVector) = pairwise!(out, d, X, X)
2019

2120
function pairwise(d::PreMetric, x::AbstractVector{<:Real})
2221
return Distances.pairwise(d, reshape(x, :, 1); dims = 1)

0 commit comments

Comments
 (0)