mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-19 07:20:28 +01:00
GroupAlgebraElements are longer than SDP matrix
This commit is contained in:
parent
c2ba0c170c
commit
668fd4e16a
@ -88,7 +88,7 @@ function create_SDP_problem(matrix_constraints,
|
||||
end
|
||||
|
||||
function resulting_SOS{T<:Number, S<:Number}(sqrt_matrix::Array{T,2}, elt::GroupAlgebraElement{S})
|
||||
zzz = zeros(T, size(sqrt_matrix)[1])
|
||||
zzz = zeros(T, length(elt))
|
||||
result::GroupAlgebraElement{T} = GroupAlgebraElement(zzz, elt.product_matrix)
|
||||
for i in 1:length(result)
|
||||
new_base = GroupAlgebraElement(sqrt_matrix[:,i], elt.product_matrix)
|
||||
|
Loading…
Reference in New Issue
Block a user