Skip to content

Commit bed4316

Browse files
committed
debug: correct size in test_custom_function_mhe
1 parent 571362a commit bed4316

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/estimator/mhe/construct.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ function test_custom_function_mhe(NT, model::SimModel, i_ym, He, gc!, nc, x̂op,
666666
X̂e_He, V̂e_He, Ŵe_He = repeat(x̂op, He+1), zeros(NT, (He+1)*nym), zeros(NT, (He+1)*nŵ)
667667
Ue_He, Yem_He, De_He = repeat(uop, He+1), repeat(yopm, He+1), repeat(dop, He+1)
668668
= zeros(NT, nx̂)
669-
= Hermitian(Matrix{NT}(I, 4, 4), :L)
669+
= Hermitian(Matrix{NT}(I, nx̂, nx̂), :L)
670670
ε = zero(NT)
671671
gc = Vector{NT}(undef, nc)
672672
try

0 commit comments

Comments
 (0)