really strange error
This commit is contained in:
parent
1662da4e75
commit
60e1b76d6f
|
@ -411,7 +411,8 @@ InstallOtherMethod(DirectProductOp,
|
||||||
# Simple checks
|
# Simple checks
|
||||||
if n = 0 then
|
if n = 0 then
|
||||||
Error("Usage: Cannot take DirectProduct of zero items.");
|
Error("Usage: Cannot take DirectProduct of zero items.");
|
||||||
elif n = 1 then
|
fi;
|
||||||
|
if n = 1 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