Skip to content

Commit eff3bd9

Browse files
committed
No need to replace the accumulator following TuringLang/DynamicPPL.jl#1013
1 parent 02515b5 commit eff3bd9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/mcmc/prior.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ function AbstractMCMC.step(
4343
for vn in keys(vi)
4444
DynamicPPL.set_flag!(vi, vn, "del")
4545
end
46-
# need to replace the old VAIMAcc, this should probably be fixed in
47-
# DPPL when calling evaluate!!
48-
vi = DynamicPPL.setacc!!(vi, DynamicPPL.ValuesAsInModelAccumulator(true))
4946
sampling_model = DynamicPPL.contextualize(
5047
model, DynamicPPL.SamplingContext(rng, DynamicPPL.SampleFromPrior(), model.context)
5148
)

0 commit comments

Comments
 (0)