more bizarreness
This commit is contained in:
parent
60e1b76d6f
commit
9d6e5267cd
|
@ -412,7 +412,7 @@ InstallOtherMethod(DirectProductOp,
|
||||||
if n = 0 then
|
if n = 0 then
|
||||||
Error("Usage: Cannot take DirectProduct of zero items.");
|
Error("Usage: Cannot take DirectProduct of zero items.");
|
||||||
fi;
|
fi;
|
||||||
if n = 1 then
|
if n < 2 then
|
||||||
return list[1];
|
return list[1];
|
||||||
fi;
|
fi;
|
||||||
# See if we can handle all objects
|
# See if we can handle all objects
|
||||||
|
|
Loading…
Reference in New Issue