Skip to content

Commit 8341262

Browse files
committed
Forgot an RNG in one sample
1 parent a4ec00b commit 8341262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ end
305305
# Set up our sampler with a joint multivariate Normal proposal.
306306
sampler = RWMH(MvNormal(zeros(d), Diagonal(σ_true .^ 2)))
307307
# Sample for the non-tempered model for comparison.
308-
samples = AbstractMCMC.sample(model, sampler, num_iterations; progress=false)
308+
samples = AbstractMCMC.sample(make_rng(), model, sampler, num_iterations; progress=false)
309309
chain = AbstractMCMC.bundle_samples(
310310
samples, MCMCTempering.maybe_wrap_model(model), sampler, samples[1], MCMCChains.Chains
311311
)

0 commit comments

Comments
 (0)