Closed
Description
opened on Apr 30, 2018
IteratorOfCartesianProduct
gives the following error if one of the arguments is empty:
Error, Each arguments must be a finite collection called from
IteratorOfCartesianProduct2( arg ...
I think this is a bug. For example:
IteratorOfCartesianProduct([1,2],[]);
gives this error, while
Cartesian([1,2],[]);
correctly returns []
.
Calling
IteratorOfCartesianProduct([[1,2],[]]);
also gives an error.
I have tried this in GAP 4.8.4 and GAP 4.8.10.
Metadata
Assignees
Labels
No labels
Activity