-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cartesian_product
AssertionError
#14224
Labels
Comments
comment:5
Hello, I propose to close this one as duplicate since with #18411 tuple/list input are automatically converted into
Vincent |
comment:6
ok, I agree |
Reviewer: Frédéric Chapoton, Vincent Delecroix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of now, passing a list, tuple, or set to
cartesian_product
returns an AssertionError.I understand that this function can construct Cartesian products on different categories, so I see why it requires specific types. However, the error message should be more descriptive, especially considering that
cartesian_product_iterator([[0,1]])
,CartesianProduct([0,1])
, andpermutations([[0,1]])
all work.Component: combinatorics
Reviewer: Frédéric Chapoton, Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/14224
The text was updated successfully, but these errors were encountered: