1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-09-13 08:25:39 +02:00

no need to store initial value of savedhash

it must be accessed after checking the modified filed
This commit is contained in:
kalmarek 2018-03-27 18:24:40 +02:00
parent ffd5bbdc19
commit 6a7bb03d73

View File

@ -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