diff --git a/trans/trans.grp b/trans/trans.grp index 8555512583e..e7c5e16d2bf 100644 --- a/trans/trans.grp +++ b/trans/trans.grp @@ -328,6 +328,9 @@ local l; end); InstallGlobalFunction(NrTransitiveGroups, function(deg) + if deg=1 then + return 0; + fi; if not(deg in [1..TRANSDEGREES]) then return fail; fi; @@ -342,6 +345,9 @@ InstallGlobalFunction( TransitiveGroup, function(deg,num) if not(deg in [1..TRANSDEGREES]) then Error("degree must be in [1..",TRANSDEGREES,"]"); fi; + if deg=1 then + return fail; + fi; if not IsBound(TRANSLENGTHS[deg]) then TransGrpLoad(deg,num); fi;