From cb10afe6f6f50a2d006fd470f43cf24a6f8752a9 Mon Sep 17 00:00:00 2001 From: kalmar Date: Sun, 16 Jul 2017 21:42:53 +0200 Subject: [PATCH] save one value computation --- src/Projections.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Projections.jl b/src/Projections.jl index 4e000b0..93b9816 100644 --- a/src/Projections.jl +++ b/src/Projections.jl @@ -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