Skip to content

Commit e1a34e1

Browse files
committed
Add varinfo to LogDensityFunction
1 parent 70e1aa9 commit e1a34e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/DynamicPPLDifferentiationInterfaceTestExt.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function make_scenario(
5454

5555
# Calculate ground truth to compare against
5656
grad_true = if expected_grad === nothing
57-
ldf_reference = LogDensityFunction(model; adtype=reference_adtype)
57+
ldf_reference = LogDensityFunction(model, varinfo; adtype=reference_adtype)
5858
LogDensityProblems.logdensity_and_gradient(ldf_reference, params)[2]
5959
else
6060
expected_grad

0 commit comments

Comments
 (0)