From 8685c256000393e351afebb02aea6a09ae7cf92a Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 17 May 2017 11:45:56 +0200 Subject: [PATCH] format --- src/GroupRings.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 4fb97e1..bde75f7 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -282,15 +282,15 @@ function reverse_dict(a::AbstractVector) end function create_pm{T<:GroupElem}(basis::Vector{T}, basis_dict::Dict{T, Int}, - limit; twisted=false) + limit=length(basis); twisted=false) product_matrix = zeros(Int, (limit,limit)) for i in 1:limit - x = basis([i]) + x = basis[i] if twisted x = inv(x) end for j in 1:limit - w = x*basis[j] + w = x*(basis[j]) product_matrix[i,j] = basis_dict[w] end end