Skip to content

Commit

Permalink
Update sampler.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai authored Nov 8, 2023
1 parent 0734d61 commit 77c4c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sampler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ function AbstractMCMC.sample(
N::Integer;
chain_type=default_chain_type(sampler),
resume_from=nothing,
initial_state = loadstate(resume_from),
kwargs...,
)
initial_state = loadstate(resume_from)
return AbstractMCMC.mcmcsample(
rng, model, sampler, N; chain_type, initial_state, kwargs...
)
Expand Down

0 comments on commit 77c4c9e

Please sign in to comment.