more bizarreness

This commit is contained in:
Glen Whitney 2017-10-25 16:48:35 +02:00
parent 60e1b76d6f
commit 9d6e5267cd

View File

@ -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