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

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