mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2025-01-01 03:40:29 +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
|
end
|
||||||
|
|
||||||
function (==)(A::GroupRing, B::GroupRing)
|
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
|
end
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user