make equality_data immutable operation
This commit is contained in:
parent
038fc29b81
commit
751850568c
|
@ -1,6 +1,6 @@
|
||||||
## Hashing
|
## Hashing
|
||||||
|
|
||||||
equality_data(g::AbstractFPGroupElement) = (normalform!(g); word(g))
|
equality_data(g::AbstractFPGroupElement) = word(g)
|
||||||
|
|
||||||
bitget(h::UInt, n::Int) = Bool((h & (1 << n)) >> n)
|
bitget(h::UInt, n::Int) = Bool((h & (1 << n)) >> n)
|
||||||
bitclear(h::UInt, n::Int) = h & ~(1 << n)
|
bitclear(h::UInt, n::Int) = h & ~(1 << n)
|
||||||
|
|
Loading…
Reference in New Issue