#8892: Many doctests fails since the update of NetworkX !
----------------------------+-----------------------------------------------
   Reporter:  ncohen        |       Owner:  jason, ncohen, rlm
       Type:  defect        |      Status:  new               
   Priority:  major         |   Milestone:  sage-4.4.1        
  Component:  graph theory  |    Keywords:                    
     Author:                |    Upstream:  N/A               
   Reviewer:                |      Merged:                    
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by ncohen):

 Because I sometimes stored them as keys of dictionaries. It means I will
 need to forget to store the label, and just the endpoints. The other
 detail is that in many algorithms, the labels are used as a weight, and I
 you will see very often in Sage's code :
 weight = lambda label : 1 if label is None else label

 So all these occurrences need to be replaces to label == {} in this
 case... Does that mean we should assume labels are ALWAYS dictionaries ?
 This would mean trouble... Where would we store numerical values for edges
 then.. a default field ?

 Nathann

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