Skip to content

Commit 2c68523

Browse files
committed
test: debug MHE arrival covariance fallback test
1 parent a66bc3b commit 2c68523

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/2_test_state_estim.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ end
11921192
@test mhe.cov.invP̄ invP̄_copy
11931193
@test_logs(
11941194
(:error, "Arrival covariance P̄ is not invertible: keeping the old one"),
1195-
ModelPredictiveControl.invert_cov!(mhe, Hermitian(zeros(mhe.nx̂, mhe.nx̂),:L))
1195+
ModelPredictiveControl.invert_cov!(mhe, mhe.covestim)
11961196
)
11971197
mhe.P̂arr_old[1, 1] = Inf # Inf to trigger fallback
11981198
P̂arr_old_copy = deepcopy(mhe.P̂arr_old)

0 commit comments

Comments
 (0)