mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-11-19 14:35:27 +01:00
fix equality of GroupRings
This commit is contained in:
parent
e6555551c1
commit
b25ae0fc4f
@ -272,13 +272,11 @@ end
|
|||||||
|
|
||||||
function (==)(A::GroupRing, B::GroupRing)
|
function (==)(A::GroupRing, B::GroupRing)
|
||||||
A.group == B.group || return false
|
A.group == B.group || return false
|
||||||
if isdefined(A, :basis)
|
if isdefined(A, :pm) && isdefined(B, :pm)
|
||||||
complete!(A)
|
complete!(A)
|
||||||
end
|
|
||||||
if isdefined(B, :basis)
|
|
||||||
complete!(B)
|
complete!(B)
|
||||||
end
|
|
||||||
A.pm == B.pm || return false
|
A.pm == B.pm || return false
|
||||||
|
end
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user