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:
parent
f9f96acb9a
commit
d10e4ca792
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user