Skip to content

Commit 2019369

Browse files
committed
debug: same for MultipleShooting and MHE
1 parent 7adb2ce commit 2019369

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
@@ -1383,7 +1383,7 @@ function con_nonlinprogeq_mhe!(
13831383
x̂dnext .+= ŵd
13841384
sdnext .= @. x̂dnext - x̂dnext_Z̃
13851385
end
1386-
Nk < He && (geq[nx̂*Nk+1:end] .= 0)
1386+
Nk < He && (geq[nx*Nk+1:end] .= 0)
13871387
return geq
13881388
end
13891389

0 commit comments

Comments
 (0)