From e8d3201390cd994a00b7c1fb6febd9fe1d427d66 Mon Sep 17 00:00:00 2001 From: kalmar Date: Fri, 17 Mar 2017 16:27:01 +0100 Subject: [PATCH] no need for const inside function --- src/sdps.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdps.jl b/src/sdps.jl index ad085b3..b8094eb 100644 --- a/src/sdps.jl +++ b/src/sdps.jl @@ -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)