Skip to content

Commit 6c77bdc

Browse files
timholyjrevels
authored andcommitted
Load BenchmarkTools when loading a params.jld file (#54)
1 parent 152aeb7 commit 6c77bdc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/serialization.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ end
3434

3535
function save(filename, args...)
3636
JLD.save(filename, VERSION_KEY, VERSIONS, args...)
37+
JLD.jldopen(filename, "r+") do io
38+
JLD.addrequire(io, BenchmarkTools)
39+
end
3740
return nothing
3841
end
3942

0 commit comments

Comments
 (0)