#5280: problem with a subposet coming from an order_filter
---------------------------+------------------------------------------------
 Reporter:  jhpalmieri     |       Owner:  somebody     
     Type:  defect         |      Status:  new          
 Priority:  minor          |   Milestone:  sage-combinat
Component:  combinatorics  |    Keywords:               
---------------------------+------------------------------------------------
 With sage-3.3.rc0:
 {{{
 sage: B = BooleanLattice(3)
 sage: 4 in B
 True
 sage: B.principal_order_filter(4)  # all elements >= 4
 [4, 5, 6, 7]
 sage: B.subposet(B.principal_order_filter(4))
 Finite poset containing 4 elements
 sage: show(B.subposet(B.principal_order_filter(4)))
 ---------------------------------------------------------------------------
 NotImplementedError                       Traceback (most recent call
 last)
 ...
 NotImplementedError: BUG: sort algorithm for elements of 'Finite lattice
 containing 8 elements' not implemented
 }}}

 I get the same problem with 'order_filter' instead of
 'principal_order_filter', and also for 'order_ideal' (e.g.,
 {{{show(B.subposet(B.order_ideal([2, 4])))}}} produces a similar message).
 Note, though, that {{{show(B.subposet(B.principal_order_ideal(4)))}}}
 works just fine.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5280>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to