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

check basis equality for (==) of GroupRings

This commit is contained in:
kalmar 2017-05-17 17:44:13 +02:00
parent 4f5f6c685a
commit 396f5b529c

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
###############################################################################