Skip to content

Commit 593c613

Browse files
committed
debug: InternalModel setmodel! now works
1 parent 5a119a1 commit 593c613

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/estimator/internal_model.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ function setmodel_estimator!(estim::InternalModel, model, _ , _ , _ , _ , _ )
228228
estim.Ĉ .=
229229
estim.B̂d .= B̂d
230230
estim.D̂d .= D̂d
231-
estim.Ĉm .= @views Ĉ[estim.i_ym,:]
232-
estim.D̂m .= @views D̂d[estim.i_ym,:]
231+
estim.Ĉm .= @views Ĉ[estim.i_ym,:]
232+
estim.D̂dm .= @views D̂d[estim.i_ym,:]
233233
# --- update state estimate and its operating points ---
234234
estim.x̂0 .+= estim.x̂op # convert x̂0 to x̂ with the old operating point
235235
estim.x̂op .= x̂op

0 commit comments

Comments
 (0)