#14224: `cartesian_product` AssertionError
----------------------------+----------------------------------------------
Reporter: | Owner: sage-combinat
eviatarbach | Status: needs_review
Type: defect | Milestone: sage-duplicate/invalid/wontfix
Priority: major | Resolution:
Component: | Merged in:
combinatorics | Reviewers:
Keywords: | Work issues:
Authors: | Commit:
Report Upstream: N/A | Stopgaps:
Branch: |
Dependencies: |
----------------------------+----------------------------------------------
Changes (by vdelecroix):
* status: new => needs_review
* milestone: sage-6.4 => sage-duplicate/invalid/wontfix
Comment:
Hello,
I propose to close this one as duplicate since with #18411 tuple/list
input are automatically converted into `FiniteEnumeratedSet` and
set/frozenset converted to `Set`
{{{
sage: C = cartesian_product([[1,2], (3,4), set([1,2,3]),
frozenset([1,2])])
The cartesian product of ({1, 2}, {3, 4}, {1, 2, 3}, {1, 2})
sage: for c in C.cartesian_factors():
....: print c.__class__.__name__
FiniteEnumeratedSet_with_category
FiniteEnumeratedSet_with_category
Set_object_enumerated_with_category
Set_object_enumerated_with_category
}}}
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/14224#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.