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:
parent
4f5f6c685a
commit
396f5b529c
@ -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
|
||||
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user