Skip to content

Commit 0336097

Browse files
committed
debug: MovingHorizonEstimator error flag no longer crash
1 parent 6e5618a commit 0336097

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/estimator/mhe/execute.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ function set_warmstart_mhe!(V̂, X̂0, estim::MovingHorizonEstimator{NT}, Z̃var
472472
# will be inevitably different at the following time step.
473473
Z̃s[nx̃+Nk*nŵ+1:end] .= 1
474474
JuMP.set_start_value.(Z̃var, Z̃s)
475+
return Z̃s
475476
end
476477

477478
"Correct the covariance estimate at arrival using `covestim` [`StateEstimator`](@ref)."

0 commit comments

Comments
 (0)