mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-26 02:20:30 +01:00
make perm_autsymbol use PermutationGroup
This commit is contained in:
parent
26f49ce963
commit
a04fea9a09
@ -172,7 +172,8 @@ function change_pow(s::AutSymbol, n::Int)
|
||||
if symbol == :ɛ
|
||||
return flip_autsymbol(s.ex.args[2], pow=n)
|
||||
elseif symbol == :σ
|
||||
return perm_autsymbol(s.ex.args[2], pow=n)
|
||||
G = PermutationGroup(length(s.ex.args[2]))
|
||||
return perm_autsymbol(G(s.ex.args[2]), pow=n)
|
||||
elseif symbol == :ϱ
|
||||
s.ex.args[2:end-1]
|
||||
return rmul_autsymbol(s.ex.args[2:end-1]..., pow=n)
|
||||
|
Loading…
Reference in New Issue
Block a user