Skip to content

Commit

Permalink
test: fallback inversion tests with hermitian
Browse files Browse the repository at this point in the history
  • Loading branch information
franckgaga committed Jan 23, 2025
1 parent 51737c4 commit c2bb875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_state_estim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ end
@test mhe.invP̄ invP̄_copy
@test_logs(
(:warn, "Arrival covariance is not invertible: keeping the old one"),
ModelPredictiveControl.invert_cov!(mhe, zeros(mhe.nx̂, mhe.nx̂))
ModelPredictiveControl.invert_cov!(mhe, Hermitian(zeros(mhe.nx̂, mhe.nx̂),:L))
)
end

Expand Down

0 comments on commit c2bb875

Please sign in to comment.