#16029: Poset method is_chain returns incorrect value in an example
----------------------------+----------------------------------------------
Reporter: | Owner: jessicapalencia
jessicapalencia | Status: positive_review
Type: defect | Milestone: sage-duplicate/invalid/wontfix
Priority: major | Resolution:
Component: | Merged in:
combinatorics | Reviewers:
Keywords: posets, | Work issues:
combinat | Commit:
Authors: | Stopgaps:
Report Upstream: N/A |
Branch: |
Dependencies: |
----------------------------+----------------------------------------------
Changes (by ncohen):
* milestone: sage-6.2 => sage-duplicate/invalid/wontfix
Old description:
> sage: elms = [1, 2, 3]
>
> sage: rels = [ [1, 3], [2, 3] ]
>
> sage: p = Poset( [elms, rels] )
>
> sage: p.is_chain()
>
> True
>
> is_chain should return False in this case
New description:
{{{
sage: elms = [1, 2, 3]
sage: rels = [ [1, 3], [2, 3] ]
sage: p = Poset( [elms, rels] )
sage: p.is_chain()
True
}}}
is_chain should return False in this case
--
--
Ticket URL: <http://trac.sagemath.org/ticket/16029#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.