Skip to content

Commit e0e7c84

Browse files
committed
debug: correct signature for init_skf
1 parent f3384a8 commit e0e7c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/estimator/kalman.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct SteadyKalmanFilter{
4343
Â, B̂u, Ĉ, B̂d, D̂d, x̂op, f̂op = augment_model(model, As, Cs_u, Cs_y)
4444
Ĉm, D̂dm = Ĉ[i_ym, :], D̂d[i_ym, :]
4545
R̂, Q̂ = cov.R̂, cov.
46-
K̂, P̂ = init_skf(model, i_ym, Â, Ĉ, Q̂, R̂; direct)
46+
K̂, P̂ = init_skf(i_ym, Â, Ĉ, Q̂, R̂; direct)
4747
cov.P̂ .=
4848
x̂0 = [zeros(NT, model.nx); zeros(NT, nxs)]
4949
corrected = [false]
@@ -196,7 +196,7 @@ function SteadyKalmanFilter(
196196
end
197197

198198
"""
199-
init_skf(model::LinModel, i_ym, Â, Ĉ, Q̂, R̂; direct=true) -> K̂, P̂
199+
init_skf(i_ym, Â, Ĉ, Q̂, R̂; direct=true) -> K̂, P̂
200200
201201
Initialize the steady-state Kalman gain `K̂` and estimation error covariance `P̂`.
202202
"""

0 commit comments

Comments
 (0)