1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-10-15 07:20:35 +02: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)() if p == parent(p)()
return id_autsymbol() return id_autsymbol()
else 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)) return AutSymbol(gen, 1, :(σ($(p.d), 1)), σ(p, 1))
end end
end end