File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,6 @@ function DynamicPPL.initialstep(
211211 # Reset the VarInfo.
212212 vi = DynamicPPL. setacc!! (vi, ProduceLogLikelihoodAccumulator ())
213213 set_all_del! (vi)
214- vi = DynamicPPL. resetlogp!! (vi)
215214 vi = DynamicPPL. empty!! (vi)
216215
217216 # Create a new set of particles.
@@ -339,7 +338,6 @@ function DynamicPPL.initialstep(
339338 vi = DynamicPPL. setacc!! (vi, ProduceLogLikelihoodAccumulator ())
340339 # Reset the VarInfo before new sweep
341340 set_all_del! (vi)
342- vi = DynamicPPL. resetlogp!! (vi)
343341
344342 # Create a new set of particles
345343 num_particles = spl. alg. nparticles
@@ -370,7 +368,6 @@ function AbstractMCMC.step(
370368 # Reset the VarInfo before new sweep.
371369 vi = state. vi
372370 vi = DynamicPPL. setacc!! (vi, ProduceLogLikelihoodAccumulator ())
373- vi = DynamicPPL. resetlogp!! (vi)
374371
375372 # Create reference particle for which the samples will be retained.
376373 unset_all_del! (vi)
You can’t perform that action at this time.
0 commit comments