Skip to content

Commit 718d670

Browse files
committed
minor doc correction
1 parent ebe0429 commit 718d670

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/internals/predictive_control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The prediction methodology of this module is mainly based on Maciejowski textboo
88
## Controller Initialization
99

1010
```@docs
11-
ModelPredictiveControl.init_deterpred
11+
ModelPredictiveControl.init_predmat
1212
ModelPredictiveControl.init_ΔUtoU
1313
ModelPredictiveControl.init_quadprog
1414
ModelPredictiveControl.init_stochpred

src/predictive_control.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ predictstoch!(mpc, estim::StateEstimator, _ , _ ) = nothing
382382
383383
Init linear model prediction matrices `F`, `q̃` and `p`.
384384
385-
See [`init_deterpred`](@ref) and [`init_quadprog`](@ref) for the definition of the matrices.
385+
See [`init_predmat`](@ref) and [`init_quadprog`](@ref) for the definition of the matrices.
386386
"""
387387
function initpred!(mpc::PredictiveController, model::LinModel, d, D̂, R̂y)
388388
mpc.F[:] = mpc.K*mpc.estim.+ mpc.Q*mpc.estim.lastu0 + mpc.Yop + mpc.Ŷs

0 commit comments

Comments
 (0)