Skip to content

Commit f9841ba

Browse files
committed
minor doc modif
1 parent af7b924 commit f9841ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/controller/construct.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ The matrices appear in the quadratic general form :
497497
J = \min_{\mathbf{ΔŨ}} \frac{1}{2}\mathbf{(ΔŨ)'H̃(ΔŨ)} + \mathbf{q̃'(ΔŨ)} + p
498498
```
499499
``\mathbf{H̃}`` is constant if the model and weights are linear and time invariant (LTI). The
500-
vector ``\mathbf{q̃}`` and scalar ``p`` need recalculation each control period ``k`` (see
501-
`initpred!`). ``p`` does not impact the minima position. It is thus
502-
useless at optimization but required to evaluate the minimal ``J`` value.
500+
vector ``\mathbf{q̃}`` and scalar ``p`` need recalculation each control period ``k``. ``p``
501+
does not impact the minima position. It is thus useless at optimization but required to
502+
evaluate the minimal ``J`` value.
503503
"""
504504
function init_quadprog(::LinModel{NT}, Ẽ, S̃, M_Hp, Ñ_Hc, L_Hp) where {NT<:Real}
505505
= Hermitian(convert(Matrix{NT}, 2*(Ẽ'*M_Hp*+ Ñ_Hc +'*L_Hp*S̃)), :L)

0 commit comments

Comments
 (0)