diff --git a/gap/bytable.gi b/gap/bytable.gi index 2090fae..9a99714 100644 --- a/gap/bytable.gi +++ b/gap/bytable.gi @@ -412,7 +412,7 @@ InstallOtherMethod(DirectProductOp, if n = 0 then Error("Usage: Cannot take DirectProduct of zero items."); fi; - if n = 1 then + if n < 2 then return list[1]; fi; # See if we can handle all objects