Skip to content

Commit 80dbd61

Browse files
authored
Merge pull request #36 from JuliaControl/doc_correction
minor doc correction
2 parents 6a124b5 + 6219d78 commit 80dbd61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/estimator/execute.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ function returns the next state of the augmented model, defined as:
2626
\mathbf{x̂}(k+1) &= \mathbf{f̂}\Big(\mathbf{x̂}(k), \mathbf{u}(k), \mathbf{d}(k)\Big) \\
2727
\mathbf{ŷ}(k) &= \mathbf{ĥ}\Big(\mathbf{x̂}(k), \mathbf{d}(k)\Big)
2828
\end{aligned}
29-
where ``\mathbf{x̂}(k+1)`` is stored in `x̂next` argument.
3029
```
30+
where ``\mathbf{x̂}(k+1)`` is stored in `x̂next` argument.
3131
"""
3232
function f̂!(x̂next, estim::StateEstimator, model::SimModel, x̂, u, d)
3333
# `@views` macro avoid copies with matrix slice operator e.g. [a:b]

src/model/nonlinmodel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The state update ``\mathbf{f}`` and output ``\mathbf{h}`` functions are defined
3535
\mathbf{y}(k) &= \mathbf{h}\Big( \mathbf{x}(k), \mathbf{d}(k) \Big)
3636
\end{aligned}
3737
```
38-
They can be implemented in two possible ways:
38+
Denoting ``\mathbf{x}(k+1)`` as `xnext`, they can be implemented in two possible ways:
3939
4040
- non-mutating functions (out-of-place): they must be defined as `f(x, u, d) -> xnext` and
4141
`h(x, d) -> y`. This syntax is simple and intuitive but it allocates more memory.

0 commit comments

Comments
 (0)