From 90437139cb4b2fc0e1510000ca1e835deaf31297 Mon Sep 17 00:00:00 2001 From: kalmar Date: Sat, 13 May 2017 22:09:03 +0200 Subject: [PATCH] iterate over perm.d not over perm itself --- src/AutGroup.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutGroup.jl b/src/AutGroup.jl index 81b8d74..c0a3b2d 100644 --- a/src/AutGroup.jl +++ b/src/AutGroup.jl @@ -87,7 +87,7 @@ function perm_autsymbol(p::perm; pow::Int=1) if p == parent(p)() return id_autsymbol() else - gen = "σ"*join([subscriptify(i) for i in p]) + gen = "σ"*join([subscriptify(i) for i in p.d]) return AutSymbol(gen, 1, :(σ($(p.d), 1)), σ(p, 1)) end end