Skip to content

Commit

Permalink
Import pairwise and pairwise! from StatsAPI (#213)
Browse files Browse the repository at this point in the history
This will allow StatsBase to define fallback methods
for these without conflicting with Distances.
  • Loading branch information
nalimilan authored Apr 6, 2021
1 parent fa867d5 commit 369f586
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ version = "0.10.2"
[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsAPI = "82ae8749-77ed-4fe6-ae5f-f523153014b0"

[compat]
julia = "1"
StatsAPI = "1"

[extras]
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
Expand Down
1 change: 1 addition & 0 deletions src/Distances.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module Distances

using LinearAlgebra
using Statistics
import StatsAPI: pairwise, pairwise!

export
# generic types/functions
Expand Down

0 comments on commit 369f586

Please sign in to comment.