diff --git a/src/Groups.jl b/src/Groups.jl index e63b1ad..08c08b0 100644 --- a/src/Groups.jl +++ b/src/Groups.jl @@ -140,7 +140,7 @@ doc""" > returns vector of generators of `G`, as its elements. """ -gens(G::FPGroup) = [G(g) for g in G.gens] +gens(G::AbstractFPGroup) = [G(g) for g in G.gens] ############################################################################### #