From 9d6e5267cd2adc64004cdecadb38e9a924145112 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Wed, 25 Oct 2017 16:48:35 +0200 Subject: [PATCH] more bizarreness --- gap/bytable.gi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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