Skip to content

Commit 16ae1e3

Browse files
committed
debug: add NT parameter
1 parent d7d1daf commit 16ae1e3

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
@@ -196,11 +196,11 @@ function SteadyKalmanFilter(
196196
end
197197

198198
"""
199-
init_skf(model, i_ym, Â, Ĉ, Q̂, R̂; direct=true) -> K̂, P̂
199+
init_skf(model::LinModel, i_ym, Â, Ĉ, Q̂, R̂; direct=true) -> K̂, P̂
200200
201201
Initialize the steady-state Kalman gain `K̂` and estimation error covariance `P̂`.
202202
"""
203-
function init_skf(model, i_ym, Â, Ĉ, Q̂, R̂; direct=true)
203+
function init_skf(model::LinModel{NT}, i_ym, Â, Ĉ, Q̂, R̂; direct=true) where {NT<:Real}
204204
ny, nym = model.ny, length(i_ym)
205205
if ny != nym
206206
R̂_y = zeros(NT, ny, ny)

0 commit comments

Comments
 (0)