Skip to content

Commit c2bb875

Browse files
committed
test: fallback inversion tests with hermitian
1 parent 51737c4 commit c2bb875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_state_estim.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ end
10001000
@test mhe.invP̄ invP̄_copy
10011001
@test_logs(
10021002
(:warn, "Arrival covariance is not invertible: keeping the old one"),
1003-
ModelPredictiveControl.invert_cov!(mhe, zeros(mhe.nx̂, mhe.nx̂))
1003+
ModelPredictiveControl.invert_cov!(mhe, Hermitian(zeros(mhe.nx̂, mhe.nx̂),:L))
10041004
)
10051005
end
10061006

0 commit comments

Comments
 (0)