@@ -988,19 +988,19 @@ end
988
988
P̂arr_old_copy = deepcopy (mhe. P̂arr_old)
989
989
invP̄_copy = deepcopy (mhe. invP̄)
990
990
@test_logs (
991
- (:error , " Arrival covariance is not positive definite: keeping the old one" ),
991
+ (:error , " Arrival covariance P̄ is not positive definite: keeping the old one" ),
992
992
preparestate! (mhe, [50 , 30 ], [5 ])
993
993
)
994
994
@test mhe. P̂arr_old ≈ P̂arr_old_copy
995
995
@test mhe. invP̄ ≈ invP̄_copy
996
996
@test_logs (
997
- (:error , " Arrival covariance is not positive definite: keeping the old one" ),
997
+ (:error , " Arrival covariance P̄ is not positive definite: keeping the old one" ),
998
998
updatestate! (mhe, [10 , 50 ], [50 , 30 ], [5 ])
999
999
)
1000
1000
@test mhe. P̂arr_old ≈ P̂arr_old_copy
1001
1001
@test mhe. invP̄ ≈ invP̄_copy
1002
1002
@test_logs (
1003
- (:error , " Arrival covariance is not invertible: keeping the old one" ),
1003
+ (:error , " Arrival covariance P̄ is not invertible: keeping the old one" ),
1004
1004
ModelPredictiveControl. invert_cov! (mhe, Hermitian (zeros (mhe. nx̂, mhe. nx̂),:L ))
1005
1005
)
1006
1006
end
0 commit comments