From 66711a31811bc568415fd0c7bb268a403c40e6fa Mon Sep 17 00:00:00 2001 From: kalmar Date: Tue, 25 Jul 2017 14:48:48 +0200 Subject: [PATCH] cosmetic --- src/GroupRings.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 6a60410..fd7669b 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -99,8 +99,7 @@ end function GroupRing(G::Group, basis::Vector, pm::Array{Int,2}) size(pm,1) == size(pm,2) || throw("pm must be square, got $(size(pm))") eltype(basis) == elem_type(G) || throw("Basis must consist of elements of $G") - basis_dict = reverse_dict(basis) - return GroupRing(G, basis, basis_dict, pm) + return GroupRing(G, basis, reverse_dict(basis), pm) end ###############################################################################