1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-11-19 06:30:29 +01:00

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

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