Skip to content

Commit

Permalink
Merge pull request #105 from JuliaStats/an/rand
Browse files Browse the repository at this point in the history
Set seed and increase n to avoid unlucky draws
  • Loading branch information
andreasnoack committed Aug 8, 2018
2 parents c8a04b1 + a7369db commit 0167683
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_dists.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ function test_metricity(dist, x, y, z)
end

@testset "PreMetric, SemiMetric, Metric on $T" for T in (Float64, F64)
n = 10
Random.seed!(123)
n = 100
x = rand(T, n)
y = rand(T, n)
z = rand(T, n)
Expand Down

0 comments on commit 0167683

Please sign in to comment.