resort to print statements

This commit is contained in:
Glen Whitney 2017-10-25 16:52:09 +02:00
parent 1041b07741
commit 6afece7b15

View File

@ -408,7 +408,9 @@ InstallOtherMethod(DirectProductOp,
function (list, first)
local n, item, i, jof, bigtable;
n := Length(list);
Print("Hi", n, "\n");
# Simple checks
Print("Ho", n=0, "\n");
if n = 0 then
Error("Usage: Cannot take DirectProduct of zero items.");
fi;