mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-12-24 02:00:30 +01:00
no need for const inside function
This commit is contained in:
parent
3517d28990
commit
e8d3201390
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user