#12848: Bug in order_ideal_complement_generators: 'down'
--------------------------------------------------------+-------------------
       Reporter:  nthiery                               |         Owner:  
sage-combinat
           Type:  defect                                |        Status:  
needs_review 
       Priority:  major                                 |     Milestone:  
sage-5.11    
      Component:  combinatorics                         |    Resolution:        
       
       Keywords:  posets                                |   Work issues:        
       
Report Upstream:  N/A                                   |     Reviewers:        
       
        Authors:  Nicolas M. Thiéry, Frédéric Chapoton  |     Merged in:        
       
   Dependencies:                                        |      Stopgaps:        
       
--------------------------------------------------------+-------------------
Changes (by aschilling):

  * status:  needs_work => needs_review


Old description:

> The down option is broken in order_ideal_complement_generators due to
> a glitch:
> {{{
>     sage: P = Poset( ( [1,2,3], [ [1,3], [2,3] ] ) )
>     sage: sage: P.order_ideal_complement_generators([1,2],
> direction='up')
>     set([3])
>     sage: P.order_ideal_complement_generators([1,2], direction='down')
>     set([3])
> }}}
>
> The result should be [] in the later case.
>
> Upcoming patch on the Sage-Combinat queue
>
> Apply [attachment:trac_12848-posets-
> order_ideal_complement_generators_fix-nt-v2.patch]

New description:

 The down option is broken in order_ideal_complement_generators due to
 a glitch:
 {{{
     sage: P = Poset( ( [1,2,3], [ [1,3], [2,3] ] ) )
     sage: sage: P.order_ideal_complement_generators([1,2], direction='up')
     set([3])
     sage: P.order_ideal_complement_generators([1,2], direction='down')
     set([3])
 }}}

 The result should be [] in the later case.

 Upcoming patch on the Sage-Combinat queue

 Apply:

 [attachment:trac_12848-posets-order_ideal_complement_generators_fix-
 nt-v2.patch]
 [attachment:trac_12848-posets-modifications.patch]

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12848#comment:25>
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/groups/opt_out.


Reply via email to