Skip to content

Commit

Permalink
remove default value from evaluate (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Sep 12, 2016
1 parent 6055922 commit 9c97491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evaluation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@inline eval_diff(::Chebyshev, ::Any, b) = b

function Distances.evaluate(d::Distances.UnionMetrics, a::AbstractVector,
b::AbstractVector, do_end::Bool=true)
b::AbstractVector, do_end::Bool)
s = eval_start(d, a, b)
@simd for i in eachindex(b)
@inbounds ai = a[i]
Expand All @@ -21,6 +21,6 @@ function Distances.evaluate(d::Distances.UnionMetrics, a::AbstractVector,
end

function Distances.evaluate(d::Distances.PreMetric, a::AbstractVector,
b::AbstractArray, ::Bool=true)
b::AbstractVector, ::Bool)
evaluate(d, a, b)
end

0 comments on commit 9c97491

Please sign in to comment.