We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70e1aa9 commit e1a34e1Copy full SHA for e1a34e1
ext/DynamicPPLDifferentiationInterfaceTestExt.jl
@@ -54,7 +54,7 @@ function make_scenario(
54
55
# Calculate ground truth to compare against
56
grad_true = if expected_grad === nothing
57
- ldf_reference = LogDensityFunction(model; adtype=reference_adtype)
+ ldf_reference = LogDensityFunction(model, varinfo; adtype=reference_adtype)
58
LogDensityProblems.logdensity_and_gradient(ldf_reference, params)[2]
59
else
60
expected_grad
0 commit comments