From 26eb8b35cb239142582df93bc87f4805a51f4a6a Mon Sep 17 00:00:00 2001 From: kalmar Date: Fri, 12 May 2017 20:02:41 +0200 Subject: [PATCH] AutWord -> AutGroupElem --- src/automorphism_groups.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/automorphism_groups.jl b/src/automorphism_groups.jl index b64bca8..403ab0f 100644 --- a/src/automorphism_groups.jl +++ b/src/automorphism_groups.jl @@ -147,7 +147,7 @@ function (F::AutGroupElem)(v) end -function simplify_perms!(W::AutWord) +function simplify_perms!(W::AutGroupElem) reduced = true for i in 1:length(W.symbols) - 1 current = W.symbols[i] @@ -172,7 +172,7 @@ function simplify_perms!(W::AutWord) return reduced end -function reduce!(W::AutWord) +function reduce!(W::AutGroupElem) if length(W) < 2 deleteat!(W.symbols, find(x -> x.pow == 0, W.symbols)) else