diff --git a/docs/src/simulation.md b/docs/src/simulation.md index 3848632f..a46a470d 100644 --- a/docs/src/simulation.md +++ b/docs/src/simulation.md @@ -63,7 +63,7 @@ In general, MDP simulations take up to 3 inputs (see also the [`simulate`](@ref) The last of these inputs is optional. If the initial state is not explicitly provided, it should be generated using -- `s = `[`initialstate`](@ref)`(mdp)` +- `s = `rand([`initialstate`](@ref)`(mdp))` ### Simulation Loop