From 60e1b76d6f3e83502a6d22b824eabd6bd2da7208 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Wed, 25 Oct 2017 16:47:09 +0200 Subject: [PATCH] really strange error --- gap/bytable.gi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gap/bytable.gi b/gap/bytable.gi index 976424e..2090fae 100644 --- a/gap/bytable.gi +++ b/gap/bytable.gi @@ -411,7 +411,8 @@ InstallOtherMethod(DirectProductOp, # Simple checks if n = 0 then Error("Usage: Cannot take DirectProduct of zero items."); - elif n = 1 then + fi; + if n = 1 then return list[1]; fi; # See if we can handle all objects