Skip to content

Commit 5c13983

Browse files
committed
debug: correct signatures
1 parent 4245ce3 commit 5c13983

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/controller/transcription.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ function con_nonlinprogeq!(
14211421
if f_threads || h < 1 || j < 2
14221422
# we need to recompute k1 with multi-threading, even with h==1, since the
14231423
# last iteration (j-1) may not be executed (iterations are re-orderable)
1424-
model.f!(k̇1, x̂d_Z̃, û0, d̂0, p)
1424+
model.f!(k̇1, x̂d_Z̃, û0, d̂0, model.p)
14251425
else
14261426
k̇1 .= @views K̇[(1 + nk*(j-1)-nx):(nk*(j-1))] # k2 of of the last iter. j-1
14271427
end

‎src/estimator/mhe/execute.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ function setmodel_estimator!(
985985
# --- defect matrices ---
986986
ES, GS, JS, BS = init_defectmat_mhe(
987987
model, transcription, estim.direct, He,
988-
estim.Â, estim.B̂u, estim.B̂d, estim.x̂op, estim.f̂op, estim.As
988+
estim.Â, estim.B̂u, estim.B̂d, estim.x̂op, estim.f̂op, estim.As, estim.Co, estim.λo
989989
)
990990
Aeq, ẼS = augmentdefect(ES, nε; slackfirst=true)
991991
con.ẼS .= ẼS

‎src/estimator/mhe/transcription.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ end
426426
@doc raw"""
427427
init_defectmat_mhe(
428428
model::LinModel, transcription::MultipleShooting, direct::Bool,
429-
He, i_ym, Â, B̂u, Ĉm, B̂d, D̂dm, x̂op, f̂op, _ , _ , _
429+
He, i_ym, Â, B̂u, Ĉm, B̂d, D̂dm, x̂op, f̂op, As, Co, λo
430430
) -> ES, GS, JS, BS
431431
432432
Init the matrices for computing the defects over the predicted states.

0 commit comments

Comments
 (0)