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:
parent
75627514fd
commit
147cd053e3
@ -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]]
|
||||
|
Loading…
Reference in New Issue
Block a user