mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 02:05:30 +01:00
use equality_data for checking ==
(defaults to word)
This commit is contained in:
parent
80f7f6e08a
commit
f883b5172e
@ -90,7 +90,7 @@ function Base.:(==)(g::AbstractFPGroupElement, h::AbstractFPGroupElement)
|
|||||||
normalform!(g)
|
normalform!(g)
|
||||||
normalform!(h)
|
normalform!(h)
|
||||||
hash(g) != hash(h) && return false
|
hash(g) != hash(h) && return false
|
||||||
return word(g) == word(h)
|
return equality_data(g) == equality_data(h)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Base.deepcopy_internal(g::FPGroupElement, stackdict::IdDict)
|
function Base.deepcopy_internal(g::FPGroupElement, stackdict::IdDict)
|
||||||
|
Loading…
Reference in New Issue
Block a user