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

rename A -> RG

This commit is contained in:
kalmar 2017-07-19 22:56:41 +02:00
parent 170903b430
commit 9470d31e95

View File

@ -480,12 +480,12 @@ end
create_pm{T<:GroupElem}(b::Vector{T}) = create_pm(b, reverse_dict(b))
function complete(A::GroupRing)
if !isdefined(A, :basis)
A.basis = [elements(A.group)...]
function complete!(RG::GroupRing)
if !isdefined(RG, :basis)
RG.basis = [elements(RG.group)...]
end
if !isdefined(A, :basis_dict)
A.basis_dict = reverse_dict(A.basis)
if !isdefined(RG, :basis_dict)
RG.basis_dict = reverse_dict(RG.basis)
end
if !isdefined(A, :pm)
A.pm = try