From 96125eb19278f1764ad1adb4bab45d13a7313675 Mon Sep 17 00:00:00 2001 From: kalmarek Date: Wed, 5 Sep 2018 09:13:09 +0200 Subject: [PATCH] remove left-over spLaplacians --- src/SDPs.jl | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/SDPs.jl b/src/SDPs.jl index 6462490..24e440a 100644 --- a/src/SDPs.jl +++ b/src/SDPs.jl @@ -19,23 +19,6 @@ function constraint(pm::Matrix{I}, k) where {I<:Integer} return cnstr end -function spLaplacian(RG::GroupRing, S, T::Type=Float64) - result = RG(T) - result[RG.group()] = T(length(S)) - for s in S - result[s] -= one(T) - end - return result -end - -function spLaplacian(RG::GroupRing{R}, S, T::Type=Float64) where {R<:Ring} - result = RG(T) - result[one(RG.group)] = T(length(S)) - for s in S - result[s] -= one(T) - end - return result -end function SOS_problem(X::GroupRingElem, orderunit::GroupRingElem; upper_bound=Inf) N = size(parent(X).pm, 1)