1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-29 11:00:28 +01:00

make complete! use fastm!

This commit is contained in:
kalmar 2017-07-25 14:43:37 +02:00
parent 75627514fd
commit 147cd053e3

View File

@ -501,9 +501,9 @@ function complete!(RG::GroupRing)
if !isdefined(RG, :basis)
RG.basis = [elements(RG.group)...]
end
if !isdefined(RG, :basis_dict)
RG.basis_dict = reverse_dict(RG.basis)
end
fastm!(RG, fill=true)
for linidx in find(RG.pm .== 0)
i,j = ind2sub(size(RG.pm), linidx)
RG.pm[i,j] = RG.basis_dict[RG.basis[i]*RG.basis[j]]