diff --git a/Orb_AutFN.jl b/Orb_AutFN.jl index 52cc801..94b0949 100644 --- a/Orb_AutFN.jl +++ b/Orb_AutFN.jl @@ -64,7 +64,7 @@ function init_model(Uπs) for k in 1:l s = size(Uπs[k],2) - P[k] = JuMP.@variable(m, P[k][i=1:s, j=1:s]) + P[k] = JuMP.@variable(m, [i=1:s, j=1:s]) JuMP.@SDconstraint(m, P[k] >= 0.0) end