1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-11-19 06:30:29 +01:00

use equality_data for checking ==

(defaults to word)
This commit is contained in:
Marek Kaluba 2021-12-11 13:53:17 +01:00
parent 80f7f6e08a
commit f883b5172e
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15

View File

@ -90,7 +90,7 @@ function Base.:(==)(g::AbstractFPGroupElement, h::AbstractFPGroupElement)
normalform!(g)
normalform!(h)
hash(g) != hash(h) && return false
return word(g) == word(h)
return equality_data(g) == equality_data(h)
end
function Base.deepcopy_internal(g::FPGroupElement, stackdict::IdDict)