File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function AbstractMCMC.step(
58
58
vis[1 ],
59
59
map (vis) do vi
60
60
vi = DynamicPPL. link!! (vi, spl, model)
61
- AMH. Transition (vi[spl], getlogp (vi))
61
+ AMH. Transition (vi[spl], getlogp (vi), false )
62
62
end
63
63
)
64
64
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ function propose!!(
386
386
387
387
# Create a sampler and the previous transition.
388
388
mh_sampler = AMH. MetropolisHastings (dt)
389
- prev_trans = AMH. Transition (vt, getlogp (vi))
389
+ prev_trans = AMH. Transition (vt, getlogp (vi), false )
390
390
391
391
# Make a new transition.
392
392
densitymodel = AMH. DensityModel (
@@ -421,7 +421,7 @@ function propose!!(
421
421
422
422
# Create a sampler and the previous transition.
423
423
mh_sampler = AMH. MetropolisHastings (spl. alg. proposals)
424
- prev_trans = AMH. Transition (vals, getlogp (vi))
424
+ prev_trans = AMH. Transition (vals, getlogp (vi), false )
425
425
426
426
# Make a new transition.
427
427
densitymodel = AMH. DensityModel (
You can’t perform that action at this time.
0 commit comments