save one value computation
This commit is contained in:
parent
680d888b68
commit
cb10afe6f6
|
@ -101,7 +101,7 @@ function central_projection(RG::GroupRing, char::Function, T::Type=Rational{Int}
|
||||||
for g in RG.basis
|
for g in RG.basis
|
||||||
result[g] = char(g)
|
result[g] = char(g)
|
||||||
end
|
end
|
||||||
dim = char(RG.group())
|
dim = result[RG.group()]
|
||||||
ord = Int(order(RG.group))
|
ord = Int(order(RG.group))
|
||||||
return convert(T, (dim//ord)*result)
|
return convert(T, (dim//ord)*result)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue