mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2025-01-07 13:10:28 +01:00
make equality_data immutable operation
This commit is contained in:
parent
038fc29b81
commit
751850568c
@ -1,6 +1,6 @@
|
||||
## 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)
|
||||
bitclear(h::UInt, n::Int) = h & ~(1 << n)
|
||||
|
Loading…
Reference in New Issue
Block a user