#8422: ChainPoset in broken for small input
-----------------------------+----------------------------------------------
Reporter: hivert | Owner: sage-combinat
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.4
Component: combinatorics | Keywords: ChainPoset
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
For n>2 the answer is correct:
{{{
sage: Posets.ChainPoset(3).size()
3
sage: Posets.ChainPoset(4).size()
4
sage: Posets.ChainPoset(5).size()
5
}}}
However:
{{{
sage: Posets.ChainPoset(2).size()
1
sage: Posets.ChainPoset(1).size()
...
ValueError: not valid poset data.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8422>
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.