Skip to content

Commit 88dacf6

Browse files
committed
debug: correct @error msg for MPC not solved
It was the MHE message (a copy-paste mistake)
1 parent eed89eb commit 88dacf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/execute.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ function optim_objective!(mpc::PredictiveController{NT}) where {NT<:Real}
457457
status = JuMP.termination_status(optim)
458458
if iserror(optim)
459459
@error(
460-
"MPC terminated without solution: estimation in open-loop "*
460+
"MPC terminated without solution: returning last solution shifted "*
461461
"(more info in debug log)",
462462
status
463463
)

0 commit comments

Comments
 (0)