Skip to content

Commit 3d44c12

Browse files
committed
Fix LDF
1 parent 0af8725 commit 3d44c12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/TuringDynamicHMCExt.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ function DynamicPPL.initialstep(
6262
end
6363

6464
# Define log-density function.
65-
= DynamicPPL.LogDensityFunction(model, vi; adtype=spl.alg.adtype)
65+
= DynamicPPL.LogDensityFunction(
66+
model, DynamicPPL.getlogjoint, vi; adtype=spl.alg.adtype
67+
)
6668

6769
# Perform initial step.
6870
results = DynamicHMC.mcmc_keep_warmup(

0 commit comments

Comments
 (0)