no need for const inside function

This commit is contained in:
kalmar 2017-03-17 16:27:01 +01:00
parent 3517d28990
commit e8d3201390
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ end
function create_SDP_problem(matrix_constraints, Δ::GroupAlgebraElement; upper_bound=Inf)
N = size(Δ.product_matrix,1)
const Δ² = Δ*Δ
Δ² = Δ*Δ
@assert length(Δ) == length(matrix_constraints)
m = JuMP.Model();
JuMP.@variable(m, A[1:N, 1:N], SDP)