Skip to content

Commit 2fb6fff

Browse files
committed
test: debug test fallback MHE
1 parent 9bf8646 commit 2fb6fff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_state_estim.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -988,19 +988,19 @@ end
988988
P̂arr_old_copy = deepcopy(mhe.P̂arr_old)
989989
invP̄_copy = deepcopy(mhe.invP̄)
990990
@test_logs(
991-
(:error, "Arrival covariance is not positive definite: keeping the old one"),
991+
(:error, "Arrival covariance is not positive definite: keeping the old one"),
992992
preparestate!(mhe, [50, 30], [5])
993993
)
994994
@test mhe.P̂arr_old P̂arr_old_copy
995995
@test mhe.invP̄ invP̄_copy
996996
@test_logs(
997-
(:error, "Arrival covariance is not positive definite: keeping the old one"),
997+
(:error, "Arrival covariance is not positive definite: keeping the old one"),
998998
updatestate!(mhe, [10, 50], [50, 30], [5])
999999
)
10001000
@test mhe.P̂arr_old P̂arr_old_copy
10011001
@test mhe.invP̄ invP̄_copy
10021002
@test_logs(
1003-
(:error, "Arrival covariance is not invertible: keeping the old one"),
1003+
(:error, "Arrival covariance is not invertible: keeping the old one"),
10041004
ModelPredictiveControl.invert_cov!(mhe, Hermitian(zeros(mhe.nx̂, mhe.nx̂),:L))
10051005
)
10061006
end

0 commit comments

Comments
 (0)