Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
femtocleaner[bot] committed Aug 21, 2018
1 parent 96c386e commit 75a2da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/misc/benchmark.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 0 additions & 2 deletions test/data/partitions.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# This file is part of Kpax3. License is MIT.

__precompile__(true)

module TestPartition

export Partition
Expand Down

0 comments on commit 75a2da8

Please sign in to comment.