basis belongs to RG

This commit is contained in:
kalmar 2017-06-06 16:24:42 +02:00
parent 73c9e65558
commit 0c6ac791c8
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function constraints_from_pm(pm, total_length=maximum(pm))
return constraints
end
function splaplacian(RG::GroupRing, S, Id=RG.group(), n=length(basis))
function splaplacian(RG::GroupRing, S, Id=RG.group(), n=length(RG.basis))
result = RG(spzeros(n))
result[Id] = float(length(S))
for s in S