diff --git a/src/AutGroup.jl b/src/AutGroup.jl index 5f31b4e..dcd3b6f 100644 --- a/src/AutGroup.jl +++ b/src/AutGroup.jl @@ -187,6 +187,8 @@ function change_pow(s::AutSymbol, n::Int) end end +length(s::AutSymbol) = abs(s.pow) + generators(G::AutGroup) = [G(AutGroupElem(elt)) for elt in G.gens] ###############################################################################