From 50629a762c706211212cdade33a29f11f788efdd Mon Sep 17 00:00:00 2001 From: kalmar Date: Fri, 4 Aug 2017 15:55:46 +0200 Subject: [PATCH] add threading to create_pm --- src/GroupRings.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 97f08ea..6abddd4 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -509,7 +509,7 @@ end function create_pm{T<:GroupElem}(basis::Vector{T}, basis_dict::Dict{T, Int}, limit::Int=length(basis); twisted::Bool=false) product_matrix = zeros(Int, (limit,limit)) - for i in 1:limit + Threads.@threads for i in 1:limit x = basis[i] if twisted x = inv(x)