1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-23 00:10:28 +01:00

no need to compute squares in lapacian

This commit is contained in:
kalmar 2017-02-11 13:36:43 +01:00
parent f9f96acb9a
commit d10e4ca792

View File

@ -39,8 +39,6 @@ function constraints_from_pm(pm, total_length=maximum(pm))
end
function splaplacian_coeff(S, basis, n=length(basis))
squares = unique(vcat([basis[1]], S, products(S,S)))
result = spzeros(n)
result[1] = length(S)
for s in S