compare GroupRing's pms only if basis is not available

This commit is contained in:
kalmar 2017-07-19 22:52:35 +02:00
parent 4707cdf40a
commit bd300d83a5
1 changed files with 1 additions and 1 deletions

View File

@ -253,8 +253,8 @@ function (==)(A::GroupRing, B::GroupRing)
A.basis == B.basis || return false
else
warn("Bases of GroupRings are not defined, comparing products mats.")
A.pm == B.pm || return false
end
A.pm == B.pm || return false
return true
end