Skip to content

Commit 3eebed5

Browse files
authored
Merge pull request #169 from JuliaControl/mpc_error_msg
debug: correct `@error` msg for MPC not solved
2 parents eed89eb + 88dacf6 commit 3eebed5

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)