Skip to content

Commit fb4a1f6

Browse files
committed
fixed typo in the initial step
1 parent e442880 commit fb4a1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sample.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function mcmcsample(
126126
sample, state = if initial_state === nothing
127127
step(rng, model, sampler; kwargs...)
128128
else
129-
step(rng, model, sampler, state; kwargs...)
129+
step(rng, model, sampler, initial_state; kwargs...)
130130
end
131131

132132
# Discard initial samples.

0 commit comments

Comments
 (0)