#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):

 Oh, right. It is meant to do a "continue" on the loop ``for w in
 self.vertex_iterator():`` but you cannot do that. You cannot break two
 levels of loops at once. And actually, it is totally useless :

 {{{
 sage: s = set([1,2,3,4,5])
 sage: for i in s:
 ...      print i
 ...      s=set([1])
 1
 2
 3
 4
 5
 }}}

 So we can remove it... God, this code is bad. SOrryyyyyyyyyy `:-/`

 Nathann

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