Skip to content

Commit 6540180

Browse files
authored
Merge pull request #327 from JuliaControl/doc_minor
doc: minor corrections
2 parents 7348403 + 90ecd0e commit 6540180

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/controller/construct.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ end
11981198
11991199
Augment defect equality constraints with slack variable ϵ if `nϵ == 1`.
12001200
1201-
It returns the ``\mathbf{Ẽŝ}`` matrix that appears in the defect equation
1201+
It returns the ``\mathbf{Ẽ_ŝ}`` matrix that appears in the defect equation
12021202
``\mathbf{Ŝ = Ẽ_ŝ Z̃ + F_ŝ}`` and the ``\mathbf{A}`` matrix for the equality constraints:
12031203
```math
12041204
\mathbf{A_ŝ Z̃} = - \mathbf{F_ŝ}

src/controller/nonlinmpc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ for the two respective constraints. Note that `g_oracle` only includes the non-`
880880
inequality constraints, thus it must be re-constructed if they change. This method is really
881881
intricate because the oracles are used inside the nonlinear optimization, so they must be
882882
type-stable and as efficient as possible. All the function outputs and derivatives are
883-
ached and updated in-place if required to use the efficient [`value_and_jacobian!`](@extref DifferentiationInterface DifferentiationInterface.value_and_jacobian!).
883+
cached and updated in-place if required to use the efficient [`value_and_jacobian!`](@extref DifferentiationInterface DifferentiationInterface.value_and_jacobian!).
884884
"""
885885
function get_nonlincon_oracle(mpc::NonLinMPC, ::JuMP.GenericModel{JNT}) where JNT<:Real
886886
# ----------- common cache for all functions ----------------------------------------

src/controller/transcription.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ end
989989
@doc raw"""
990990
set_warmstart!(mpc::PredictiveController, ::OrthogonalCollocation, Z̃var) -> Z̃s
991991
992-
Set and return the warm-start value of `Z̃var` for other [`OrthogonalCollocation`](@ref).
992+
Set and return the warm-start value of `Z̃var` for [`OrthogonalCollocation`](@ref).
993993
994994
It warm-starts the solver at:
995995
```math

0 commit comments

Comments
 (0)