Skip to content

Commit 3687ebe

Browse files
authored
Update sampler.jl (#557)
1 parent 0734d61 commit 3687ebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sampler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ function AbstractMCMC.sample(
8787
N::Integer;
8888
chain_type=default_chain_type(sampler),
8989
resume_from=nothing,
90+
initial_state = loadstate(resume_from),
9091
kwargs...,
9192
)
92-
initial_state = loadstate(resume_from)
9393
return AbstractMCMC.mcmcsample(
9494
rng, model, sampler, N; chain_type, initial_state, kwargs...
9595
)

0 commit comments

Comments
 (0)