Dear Forum,
I noticed a small bug in the AbelianGroup function:
gap> AbelianGroup([]);
Error, usage: DirectProduct( <G>,.. ) in
DirectProduct( List( ords, function ( n ) ... end ) ) called from
AbelianPermGroup( arg[2] ) called from
PermGroupLib( "AbelianGroup", ords ) called from
Permutations.operations.AbelianGroup( Permutations, arg[1] ) called from
AbelianGroup( [ ] ) called from
main loop
brk> quit;
Luckily, what I need is:
gap> AbelianGroup(AgWords,[]);
Group( IdAgWord )
gap>
which looks fine.
All the best, Leonard.