Merge branch 'enh/S_5projections' of https://git.wmi.amu.edu.pl/kalmar/PropertyT.jl into enh/S_5projections

This commit is contained in:
kalmar 2017-07-17 09:41:05 +02:00
commit 05691b5202
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ function central_projection(RG::GroupRing, char::Function, T::Type=Rational{Int}
for g in RG.basis
result[g] = char(g)
end
dim = char(RG.group())
dim = result[RG.group()]
ord = Int(order(RG.group))
return convert(T, (dim//ord)*result)
end