We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6fddd3 commit 3d2c1ebCopy full SHA for 3d2c1eb
src/compiler.jl
@@ -443,7 +443,6 @@ function build_output(model_info)
443
$ctx::$(DynamicPPL.AbstractContext),
444
)
445
$unwrap_data_expr
446
- $(DynamicPPL.resetlogp!)($vi)
447
$main_body
448
return
449
end
src/model.jl
@@ -131,7 +131,7 @@ function runmodel!(
131
spl::AbstractSampler=SampleFromPrior(),
132
ctx::AbstractContext=DefaultContext()
133
134
- setlogp!(vi, 0)
+ resetlogp!(vi)
135
if has_eval_num(spl)
136
spl.state.eval_num += 1
137
0 commit comments