Skip to content

Commit

Permalink
Update compats and fix using
Browse files Browse the repository at this point in the history
  • Loading branch information
richardreeve committed Nov 30, 2023
1 parent 9456ac2 commit 41ed1e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ DistancesSparseArraysExt = "SparseArrays"

[compat]
ChainRulesCore = "1"
LinearAlgebra = "1"
SparseArrays = "1"
Statistics = "1"
StatsAPI = "1"
julia = "1"

Expand Down
1 change: 0 additions & 1 deletion ext/DistancesSparseArraysExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ using Distances
import Distances: _evaluate
using Distances: UnionMetrics, result_type, eval_start, eval_op, eval_reduce, eval_end
using SparseArrays: SparseVectorUnion, nonzeroinds, nonzeros, nnz
using SparseArrays: SparseVectorUnion

eval_op_a(d, ai, b) = eval_op(d, ai, zero(eltype(b)))
eval_op_b(d, bi, a) = eval_op(d, zero(eltype(a)), bi)
Expand Down

0 comments on commit 41ed1e7

Please sign in to comment.