diff --git a/src/misc/benchmark.jl b/src/misc/benchmark.jl index 0fecedb..619189a 100644 --- a/src/misc/benchmark.jl +++ b/src/misc/benchmark.jl @@ -26,12 +26,12 @@ function benchmark() # Run once, to force compilation. println("-- First run --") - srand(20150326) + Random.seed!(20150326) @time kpax3mcmc(x, partition, settings) # Run a second time, with profiling. println("-- Second run --") - srand(20150326) + Random.seed!(20150326) Profile.init(delay=0.01) Profile.clear() Profile.clear_malloc_data() diff --git a/test/data/partitions.jl b/test/data/partitions.jl index 4082d2a..e01394b 100644 --- a/test/data/partitions.jl +++ b/test/data/partitions.jl @@ -1,7 +1,5 @@ # This file is part of Kpax3. License is MIT. -__precompile__(true) - module TestPartition export Partition