Skip to content

Commit 9b9dd6c

Browse files
committed
removed: useless variable in MultipleShooting and NonLinModel
1 parent 4c898c9 commit 9b9dd6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/transcription.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ custom constraints are include in the `g` vector.
11731173
function con_nonlinprog!(
11741174
g, mpc::PredictiveController, ::NonLinModel, ::TranscriptionMethod, x̂0end, Ŷ0, gc, ϵ
11751175
)
1176-
nx̂, nŶ = length(x̂0end), length(Ŷ0)
1176+
nŶ = length(Ŷ0)
11771177
for i in eachindex(g)
11781178
mpc.con.i_g[i] || continue
11791179
if i nŶ

0 commit comments

Comments
 (0)