mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-05 02:11:27 +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.
|
> Checks if two direct product group elements are the same.
|
||||||
"""
|
"""
|
||||||
function (==)(g::DirectProductGroupElem, h::DirectProductGroupElem)
|
function (==)(g::DirectProductGroupElem, h::DirectProductGroupElem)
|
||||||
parent(g) == parent(h) || return false
|
|
||||||
g.elts == h.elts || return false
|
g.elts == h.elts || return false
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
@ -163,7 +163,6 @@ function (==)(G::WreathProduct, H::WreathProduct)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function (==)(g::WreathProductElem, h::WreathProductElem)
|
function (==)(g::WreathProductElem, h::WreathProductElem)
|
||||||
parent(g) == parent(h) || return false
|
|
||||||
g.n == h.n || return false
|
g.n == h.n || return false
|
||||||
g.p == h.p || return false
|
g.p == h.p || return false
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user