Skip to content

Commit abebd59

Browse files
committed
fixed typo in docs
1 parent 4ca57b0 commit abebd59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ function AbstractMCMC.step(rng, model::AbstractMCMC.AbstractModel, sampler::Mixt
171171
)
172172

173173
# Create the new states.
174-
# NOTE: Code below will result in `states_new` begin a `Vector`.
175-
# If we wanted to allow usage of alternative containers, e.g. `Tuple`
174+
# NOTE: Code below will result in `states_new` being a `Vector`.
175+
# If we wanted to allow usage of alternative containers, e.g. `Tuple`,
176176
# it would be better to use something like `@set states[i] = state_current`
177177
# where `@set` is from Setfield.jl.
178178
states_new = map(1:length(state.states)) do j

0 commit comments

Comments
 (0)