From 4e43f006f9d66f8a481417a14ce9d8d42a183ee3 Mon Sep 17 00:00:00 2001 From: Dahua Lin Date: Tue, 26 Aug 2014 13:11:49 +0800 Subject: [PATCH] depend on Distances instead of Distance --- REQUIRE | 2 +- src/Clustering.jl | 2 +- test/affprop.jl | 2 +- test/dbscan.jl | 2 +- test/kmedoids.jl | 2 +- test/seeding.jl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/REQUIRE b/REQUIRE index 0686b5fd..f31d31a7 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,4 +1,4 @@ julia 0.3- ArrayViews 0.3- -Distance 0.4- +Distances StatsBase 0.3- diff --git a/src/Clustering.jl b/src/Clustering.jl index d7daa07d..9085d023 100644 --- a/src/Clustering.jl +++ b/src/Clustering.jl @@ -1,6 +1,6 @@ module Clustering using ArrayViews - using Distance + using Distances using StatsBase import Base: show diff --git a/test/affprop.jl b/test/affprop.jl index 9288e083..efd1bd53 100644 --- a/test/affprop.jl +++ b/test/affprop.jl @@ -1,7 +1,7 @@ # simple program to test affinity propagation using Base.Test -using Distance +using Distances using Clustering srand(34568) diff --git a/test/dbscan.jl b/test/dbscan.jl index 62b22cb1..47c12985 100644 --- a/test/dbscan.jl +++ b/test/dbscan.jl @@ -1,6 +1,6 @@ using Base.Test using Clustering -using Distance +using Distances srand(34568) diff --git a/test/kmedoids.jl b/test/kmedoids.jl index 8edce12d..0c2d24be 100644 --- a/test/kmedoids.jl +++ b/test/kmedoids.jl @@ -1,6 +1,6 @@ using Base.Test -using Distance +using Distances using Clustering srand(34568) diff --git a/test/seeding.jl b/test/seeding.jl index f76548ac..5bc91b49 100644 --- a/test/seeding.jl +++ b/test/seeding.jl @@ -1,5 +1,5 @@ using Clustering -using Distance: SqEuclidean, pairwise +using Distances: SqEuclidean, pairwise using Base.Test srand(34568)