Skip to content

Commit

Permalink
check that module entry exists in params.jld before trying to load it (
Browse files Browse the repository at this point in the history
  • Loading branch information
jrevels authored Sep 16, 2016
1 parent ddb8cee commit 4e3c03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseBenchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function loadall!(group::BenchmarkGroup; verbose::Bool = true, tune::Bool = true
if tune
jldopen(PARAMS_PATH, "r") do file
for (id, suite) in group
loadparams!(suite, read(file, id), :evals)
JLD.exists(file, id) && loadparams!(suite, read(file, id), :evals)
end
end
end
Expand Down

0 comments on commit 4e3c03e

Please sign in to comment.