mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-04 18:11:26 +01:00
don't compare parents when parents are constructable
This commit is contained in:
parent
89b89f13a5
commit
7c1a96b64e
@ -143,7 +143,6 @@ doc"""
|
||||
> Checks if two direct product group elements are the same.
|
||||
"""
|
||||
function (==)(g::DirectProductGroupElem, h::DirectProductGroupElem)
|
||||
parent(g) == parent(h) || return false
|
||||
g.elts == h.elts || return false
|
||||
return true
|
||||
end
|
||||
|
@ -163,7 +163,6 @@ function (==)(G::WreathProduct, H::WreathProduct)
|
||||
end
|
||||
|
||||
function (==)(g::WreathProductElem, h::WreathProductElem)
|
||||
parent(g) == parent(h) || return false
|
||||
g.n == h.n || return false
|
||||
g.p == h.p || return false
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user