#8425: BipartiteGraph add_edge allows bipartite property to be violated.
----------------------------+-----------------------------------------------
   Reporter:  rhinton       |       Owner:  rhinton                 
       Type:  defect        |      Status:  needs_review            
   Priority:  major         |   Milestone:  sage-4.4                
  Component:  graph theory  |    Keywords:  BipartiteGraph, add_edge
     Author:  Ryan Hinton   |    Upstream:  N/A                     
   Reviewer:                |      Merged:                          
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by ncohen):

  * status:  needs_work => needs_review


Comment:

 > The docstring test shows that an exception is raised.  Would you like me
 to add verbiage above saying that it is an error for the two endpoints to
 be in the same partition?

 Well, it is already the case, as the Exception raised is "RuntimeError:
 Edge vertices must lie in different partitions". Well, I can understand
 you would like to have a *functional* BipartiteGraph as soon as possible,
 so I'm giving this ticket a positive review !

 The tests pass, the documentation is fine, and it clearly is a necessary
 fix :-)

 Nathann

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