Skip to content

Commit 6f9679a

Browse files
committed
Use provided rng to initialise VarInfo in Gibbs
1 parent 85bcfa5 commit 6f9679a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcmc/gibbs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ function DynamicPPL.initialstep(
339339
samplers = alg.samplers
340340

341341
# 1. Run the model once to get the varnames present + initial values to condition on.
342-
vi_base = DynamicPPL.VarInfo(model)
342+
vi_base = DynamicPPL.VarInfo(rng, model)
343343

344344
# Simple way of setting the initial parameters: set them in the `vi_base`
345345
# if they are given so they propagate to the subset varinfos used by each sampler.

0 commit comments

Comments
 (0)