mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2025-01-01 03:40:29 +01:00
need vector for basis; collect(Base.product) preserves the structure
This commit is contained in:
parent
faf1b94bae
commit
5a26aaa5cb
@ -377,7 +377,7 @@ create_pm{T<:GroupElem}(b::Vector{T}) = create_pm(b, reverse_dict(b))
|
||||
|
||||
function complete(A::GroupRing)
|
||||
if !isdefined(A, :basis)
|
||||
A.basis = collect(elements(A.group))
|
||||
A.basis = [elements(A.group)...]
|
||||
end
|
||||
if !isdefined(A, :basis_dict)
|
||||
A.basis_dict = reverse_dict(A.basis)
|
||||
|
Loading…
Reference in New Issue
Block a user