Skip to content

Commit b37392e

Browse files
committed
debug: correct field name
1 parent f7dedc0 commit b37392e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/estimator/mhe/construct.jl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,12 +1052,12 @@ function setconstraint!(
10521052
if !isnothing(C_âmin)
10531053
size(C_âmin) == (nÂe,) || throw(DimensionMismatch("C_âmin size must be $((nÂe,))"))
10541054
any(C_âmin .< 0) && error("C_âmin weights should be non-negative")
1055-
con.A_âmin[:, begin] .= @. -C_âmin
1055+
con.A_Âmin[:, begin] .= @. -C_âmin
10561056
end
10571057
if !isnothing(C_âmax)
10581058
size(C_âmax) == (nÂe,) || throw(DimensionMismatch("C_âmax size must be $((nÂe,))"))
10591059
any(C_âmax .< 0) && error("C_âmax weights should be non-negative")
1060-
con.A_âmax[:, begin] .= @. -C_âmax
1060+
con.A_Âmax[:, begin] .= @. -C_âmax
10611061
end
10621062
if !isnothing(C_ŵmin)
10631063
size(C_ŵmin) == (nŵ*He,) || throw(DimensionMismatch("C_ŵmin size must be $((nŵ*He,))"))

0 commit comments

Comments
 (0)