From 6a7bb03d732f80fc12a668e618483e5ee7755a6a Mon Sep 17 00:00:00 2001 From: kalmarek Date: Tue, 27 Mar 2018 18:24:40 +0200 Subject: [PATCH] no need to store initial value of savedhash it must be accessed after checking the modified filed --- src/AutGroup.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutGroup.jl b/src/AutGroup.jl index 9ea102b..f349c46 100644 --- a/src/AutGroup.jl +++ b/src/AutGroup.jl @@ -41,7 +41,7 @@ mutable struct Automorphism{N} <: GWord{AutSymbol} savedhash::UInt parent::AutGroup{N} - Automorphism{N}(f::Vector{AutSymbol}) where N = new(f, true, UInt(0)) + Automorphism{N}(f::Vector{AutSymbol}) where N = new(f, true) end