1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-29 09:45:27 +01:00

use spzeros constructor compatible with julia-1.6

This commit is contained in:
Marek Kaluba 2022-11-16 00:14:06 +01:00
parent b92f12107f
commit d1d46d13ef
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15

View File

@ -226,7 +226,7 @@ function sos_problem_primal(
begin # preallocating begin # preallocating
T = eltype(wedderburn) T = eltype(wedderburn)
Ms = spzeros.(T, size.(P)) Ms = [spzeros.(T, size(p)...) for p in P]
M_orb = zeros(T, size(parent(elt).mstructure)...) M_orb = zeros(T, size(parent(elt).mstructure)...)
end end