check basis equality for (==) of GroupRings

This commit is contained in:
kalmar 2017-05-17 17:44:13 +02:00
parent 4f5f6c685a
commit 396f5b529c
1 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,9 @@ function (==)(X::GroupRingElem, Y::GroupRingElem)
end
function (==)(A::GroupRing, B::GroupRing)
return A.group == B.group
A.group == B.group || return false
A.basis == B.basis || return false
return true
end
###############################################################################