From 3f203ef98d6ed1cc17a1ac1e63846eb458bebe14 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Wed, 25 Oct 2017 16:54:11 +0200 Subject: [PATCH] more print statements --- gap/bytable.gi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gap/bytable.gi b/gap/bytable.gi index 44318b3..e4ea1d1 100644 --- a/gap/bytable.gi +++ b/gap/bytable.gi @@ -411,7 +411,9 @@ InstallOtherMethod(DirectProductOp, Print("Hi", n, "\n"); # Simple checks Print("Ho", n=0, "\n"); - if n = 0 then + Print("Ha", n<1, "\n"); + # Why does the following fail? + if n < 1 then Error("Usage: Cannot take DirectProduct of zero items."); fi; # if n < 2 then