mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-22 08:00:28 +01:00
use spzeros constructor compatible with julia-1.6
This commit is contained in:
parent
b92f12107f
commit
d1d46d13ef
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user