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
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ function sos_problem_primal(
begin # preallocating
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)...)
end