Skip to content

Commit 4a688ee

Browse files
committed
doctest corrections
1 parent cd8f054 commit 4a688ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/controller/execute.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,12 +552,12 @@ prediction horizon ``H_p``.
552552
julia> mpc = LinMPC(KalmanFilter(LinModel(ss(0.1, 0.5, 1, 0, 4.0)), σR=[√25]), Hp=1, Hc=1);
553553
554554
julia> mpc.estim.model.A[], mpc.estim.R̂[], mpc.M_Hp[]
555-
(0.1, 25.0)
555+
(0.1, 25.0, 1.0)
556556
557-
julia> setmodel!(mpc, LinModel(ss(0.42, 0.5, 1, 0, 4.0)); R̂=[9], M_Hp=[0]);
557+
julia> setmodel!(mpc, LinModel(ss(0.42, 0.5, 1, 0, 4.0)); R̂=[9], M_Hp=[0]);
558558
559559
julia> mpc.estim.model.A[], mpc.estim.R̂[], mpc.M_Hp[]
560-
(0.42, 9.0)
560+
(0.42, 9.0, 0.0)
561561
```
562562
"""
563563
function setmodel!(

0 commit comments

Comments
 (0)