#6096: [with patch, needs review] Fix subtle bug in partition refinement
--------------------------+-------------------------------------------------
 Reporter:  rlm           |       Owner:  rlm     
     Type:  defect        |      Status:  new     
 Priority:  major         |   Milestone:  sage-4.0
Component:  graph theory  |    Keywords:          
--------------------------+-------------------------------------------------
 This patch includes a module which gives an extremely simple example of
 using the `partn_ref` module, which exposed the bug, whose fix is:

 {{{
 diff -r feb2d962bf2b -r f5d696c216ff
 sage/groups/perm_gps/partn_ref/double_coset.pyx
 --- a/sage/groups/perm_gps/partn_ref/double_coset.pyx   Mon May 18
 12:46:23 2009 -0700
 +++ b/sage/groups/perm_gps/partn_ref/double_coset.pyx   Wed May 20
 14:59:09 2009 -0700
 @@ -540,7 +540,7 @@
          if not possible:
              possible = 1
              i = current_ps.depth
 -            current_ps.depth = min(first_kids_are_same-1,
 current_kids_are_same-1)
 +            current_ps.depth = current_kids_are_same-1
              if i == current_kids_are_same:
                  continue # main loop
              if index_in_fp_and_mcr < len_of_fp_and_mcr - 1:
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6096>
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