#13658: Typo in Graph.girth()
--------------------------------+-------------------------------------------
       Reporter:  ppurka        |         Owner:  jason, ncohen, rlm
           Type:  defect        |        Status:  needs_review      
       Priority:  minor         |     Milestone:  sage-5.6          
      Component:  graph theory  |    Resolution:                    
       Keywords:                |   Work issues:                    
Report Upstream:  N/A           |     Reviewers:                    
        Authors:                |     Merged in:                    
   Dependencies:                |      Stopgaps:                    
--------------------------------+-------------------------------------------

Comment (by ncohen):

 Well, actually this line gets executed each time an odd cycle is found.
 The line :
 {{{
 best = 2*depth -1
 }}}
 is the only one that can set best to an odd value. The other one is
 {{{
 best = 2*depth
 }}}
 I do not remember what it does at the moment.

 I'm pretty sure I wrote this thing myself, but I find it *very*
 uncommented for what it does `:-/`

 Nathann

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