Skip to content

Commit 531edb4

Browse files
committed
doc: minor modification
1 parent 6c5f770 commit 531edb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/controller/execute.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ Call `periodsleep(mpc.estim.model)`.
488488
periodsleep(mpc::PredictiveController, busywait=false) = periodsleep(mpc.estim.model, busywait)
489489

490490
"""
491-
setstate!(mpc::PredictiveController, x̂, P̂=nothing) -> mpc
491+
setstate!(mpc::PredictiveController, x̂[, P̂]) -> mpc
492492
493493
Call [`setstate!`](@ref) on `mpc.estim` [`StateEstimator`](@ref).
494494
"""

src/estimator/execute.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function validate_args(estim::StateEstimator, ym, d, u=nothing)
330330
end
331331

332332
"""
333-
setstate!(estim::StateEstimator, x̂, P̂=nothing) -> estim
333+
setstate!(estim::StateEstimator, x̂[, P̂]) -> estim
334334
335335
Set `estim.x̂0` to `x̂ - estim.x̂op` from the argument `x̂`, and `estim.P̂` to `P̂` if applicable.
336336

0 commit comments

Comments
 (0)