Skip to content

Commit b7c919f

Browse files
committed
debug: predict now works
1 parent af8de3b commit b7c919f

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
@@ -664,7 +664,7 @@ function predict!(
664664
ĥ!(ŷ0, mpc.estim, model, x̂0, d0)
665665
end
666666
Ŷ0 .+= mpc.F # F = Ŷs if mpc.estim is an InternalModel, else F = 0.
667-
x0end = x0next
667+
x̂0end = x̂0next
668668
return Ŷ0, x̂0end
669669
end
670670

0 commit comments

Comments
 (0)