From 751850568ccc0fc688f04dff41f7735733e702b9 Mon Sep 17 00:00:00 2001 From: Marek Kaluba Date: Wed, 22 Mar 2023 21:45:04 +0100 Subject: [PATCH] make equality_data immutable operation --- src/hashing.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hashing.jl b/src/hashing.jl index 5c33019..48593e9 100644 --- a/src/hashing.jl +++ b/src/hashing.jl @@ -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)