Skip to content

Commit b9f476c

Browse files
committed
fixed typo in docs
1 parent 23b9119 commit b9f476c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function AbstractMCMC.step(rng, model::AbstractMCMC.AbstractModel, sampler::Mixt
175175
# but to keep this demo self-contained, we don't.
176176
states_new = ntuple(1:length(state.states)) do j
177177
if j != i
178-
state.states[i]
178+
state.states[j]
179179
else
180180
state_inner
181181
end

0 commit comments

Comments
 (0)