Ticket #11414 (closed defect: duplicate)
CartesianProduct should return a list of tuples
| Reported by: | pdehaye | Owned by: | pdehaye |
|---|---|---|---|
| Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
| Component: | combinatorics | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | David Roe |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description (last modified by pdehaye) (diff)
sage: list(CartesianProduct([1,2],[3,4])) [[1, 3], [1, 4], [2, 3], [2, 4]]
Sadly, this is not the case.
correction: seems to have been fixed on its own...
Attachments
Change History
comment:1 Changed 2 years ago by pdehaye
- Priority changed from minor to major
- Description modified (diff)
- Summary changed from PartitionTuples should return a tuple to CartesianProduct should return a list of tuples
comment:2 Changed 2 years ago by pdehaye
- Cc hivert, mhansen added
- Status changed from new to needs_review
i realized this problem while fixing #11412, so this needs to be applied on top of the patch over there. (i m not sure i proceeded as was best)
Note: See
TracTickets for help on using
tickets.

