Skip to content

Commit 6e03f04

Browse files
committed
fix
1 parent 8fa3908 commit 6e03f04

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

benchmarks/src/DynamicPPLBenchmarks.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,12 @@ function make_suite(model, varinfo_choice::Symbol, adbackend::Symbol, islinked::
8181
end
8282

8383
adbackend = to_backend(adbackend)
84-
context = DynamicPPL.DefaultContext()
8584

8685
if islinked
8786
vi = DynamicPPL.link(vi, model)
8887
end
8988

90-
f = DynamicPPL.LogDensityFunction(model, vi, context; adtype=adbackend)
89+
f = DynamicPPL.LogDensityFunction(model, vi; adtype=adbackend)
9190
# The parameters at which we evaluate f.
9291
θ = vi[:]
9392

0 commit comments

Comments
 (0)