Skip to content

Commit 7adb2ce

Browse files
committed
debug: nx*Nk nonlin. eq. const. for MHE with TrapezoidalCollocation
1 parent 56aa83a commit 7adb2ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/estimator/mhe/transcription.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ function con_nonlinprogeq_mhe!(
14621462
sdnext .= @. x̂d_Z̃ - x̂dnext_Z̃ + 0.5*Ts*(k̇1 + k̇2)
14631463
sdnext .+= ŵd
14641464
end
1465-
Nk < He && (geq[nx̂*Nk+1:end] .= 0)
1465+
Nk < He && (geq[nx*Nk+1:end] .= 0)
14661466
return geq
14671467
end
14681468

0 commit comments

Comments
 (0)