#8902: Subsets element construction is broken
---------------------------------+------------------------------------------
Reporter: hivert | Owner: hivert
Type: defect | Status: positive_review
Priority: major | Milestone: sage-4.4.3
Component: combinatorics | Keywords: Subsets constructor
Author: Florent Hivert | Upstream: N/A
Reviewer: Nicolas M. ThiƩry | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Changes (by nthiery):
* status: needs_review => positive_review
Old description:
> {{{
> sage: S2 = Subsets(2)
> sage: S2([])
> <type 'sage.structure.parent.Set_generic'>
> sage: S2([1])
> <type 'sage.structure.parent.Set_generic'>
> }}}
New description:
{{{
sage: S2 = Subsets(2)
sage: S2([])
<type 'sage.structure.parent.Set_generic'>
sage: S2([1])
<type 'sage.structure.parent.Set_generic'>
}}}
The attached patch fixes this.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8902#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.