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

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

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