Skip to content

Commit 83ed839

Browse files
committed
Interpolate getlogp
1 parent a2b4ace commit 83ed839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ function replace_logpdf!(model_info)
216216
vi = model_info[:main_body_names][:vi]
217217
ex = MacroTools.postwalk(ex) do x
218218
if @capture(x, @logpdf())
219-
:(getlogp($vi))
219+
:($(DynamicPPL.getlogp)($vi))
220220
else
221221
x
222222
end

0 commit comments

Comments
 (0)