Skip to content

Commit aaf7c7a

Browse files
committed
doc: correcting the format
1 parent 9e903c0 commit aaf7c7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controller/nonlinmpc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ NonLinMPC controller with a sample time Ts = 10.0 s, Ipopt optimizer, UnscentedK
208208
the function `gc` can be implemented in two ways:
209209
210210
1. **Non-mutating function** (out-of-place): define it as `gc(Ue, Ŷe, D̂e, p, ϵ) -> LHS`.
211-
This syntax is simple and intuitive but it allocates more memory.
211+
This syntax is simple and intuitive but it allocates more memory.
212212
2. **Mutating function** (in-place): define it as `gc!(LHS, Ue, Ŷe, D̂e, p, ϵ) -> nothing`.
213-
This syntax reduces the allocations and potentially the computational burden as well.
213+
This syntax reduces the allocations and potentially the computational burden as well.
214214
215215
The keyword argument `nc` is the number of elements in the `LHS` vector, and `gc!`, an
216216
alias for the `gc` argument (both accepts non-mutating and mutating functions). Note

0 commit comments

Comments
 (0)