#17051: Strange bug in poset show()
----------------------------+----------------------------------------------
Reporter: | Owner:
jmantysalo | Status: new
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: |
----------------------------+----------------------------------------------
Comment (by jmantysalo):
More about this. Problem is that `type(Posets.PentagonPoset().list()[0])`
is
`sage.combinat.posets.elements.FiniteLatticePoset_with_category.element_class`,
whereas for example `type(Posets.RandomPoset(1,0).list()[0])` is
`sage.rings.integer.Integer`. Problem can be seen for example by
{{{
P1=Posets.PentagonPoset()
P2=Poset({'a':['b','c']})
P=Poset( (P1.list()+P2.list(), []) )
P.show()
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17051#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 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.