iterate over perm.d not over perm itself

This commit is contained in:
kalmar 2017-05-13 22:09:03 +02:00
parent b491d2c572
commit 90437139cb
1 changed files with 1 additions and 1 deletions

View File

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