Skip to content

Commit 48446ac

Browse files
committed
doc: fixing jldoctest
1 parent 7c18482 commit 48446ac

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/estimator/kalman.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,7 @@ julia> model = NonLinModel((x,u,_,_)->0.2x+u, (x,_,_)->-3x, 5.0, 1, 1, 1, solver
10101010
julia> estim = ExtendedKalmanFilter(model, σQ=[2], σQint_ym=[2], σP_0=[0.1], σPint_ym_0=[0.1])
10111011
ExtendedKalmanFilter estimator with a sample time Ts = 5.0 s:
10121012
├ model: NonLinModel
1013+
├ jacobian: AutoForwardDiff
10131014
└ dimensions:
10141015
├ 1 manipulated inputs u (0 integrating states)
10151016
├ 2 estimated states x̂

src/model/nonlinmodel.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ julia> h!(y, x, _ , _ ) = (y .= 0.1x; nothing);
154154
julia> model1 = NonLinModel(f!, h!, 5.0, 1, 1, 1, p=-0.2) # continuous dynamics
155155
NonLinModel with a sample time Ts = 5.0 s:
156156
├ solver: RungeKutta(4)
157-
linearization: AutoForwardDiff
157+
jacobian: AutoForwardDiff
158158
└ dimensions:
159159
├ 1 manipulated inputs u
160160
├ 1 states x
@@ -168,7 +168,7 @@ julia> h(x, _ , _ ) = 2x;
168168
julia> model2 = NonLinModel(f, h, 2.0, 1, 1, 1, solver=nothing) # discrete dynamics
169169
NonLinModel with a sample time Ts = 2.0 s:
170170
├ solver: EmptySolver
171-
linearization: AutoForwardDiff
171+
jacobian: AutoForwardDiff
172172
└ dimensions:
173173
├ 1 manipulated inputs u
174174
├ 1 states x

0 commit comments

Comments
 (0)