#13664: Another bug in add_edge
---------------------------------+------------------------------------------
       Reporter:  ncohen         |         Owner:  jason, ncohen, rlm
           Type:  defect         |        Status:  needs_review      
       Priority:  major          |     Milestone:  sage-5.5          
      Component:  graph theory   |    Resolution:                    
       Keywords:                 |   Work issues:                    
Report Upstream:  N/A            |     Reviewers:                    
        Authors:  Nathann Cohen  |     Merged in:                    
   Dependencies:                 |      Stopgaps:                    
---------------------------------+------------------------------------------
Changes (by ncohen):

  * status:  new => needs_review


Old description:

> A bug report from Nicolas Thiery. Since we all work together at the LRI
> we did not send much new patches, but for sure we find a lot of bugs !
> `:-P`
>
> Nathann
>
> {{{
> sage: W = WeylGroup(["A",1])
> sage: G = W.cayley_graph()
> sage: Graph(G).degree()
> [2, 1]
> sage: h = Graph()
> sage: h.add_edge(1,2,"a")
> sage: h.add_edge(1,2,"a")
> sage: h.degree()
> [1, 2]
> }}}
>
> APPLY:
>     * [attachment:trac_x.patch]

New description:

 A bug report from Nicolas Thiery. Since we all work together at the LRI we
 did not send much new patches, but for sure we find a lot of bugs ! `:-P`

 Nathann

 {{{
 sage: W = WeylGroup(["A",1])
 sage: G = W.cayley_graph()
 sage: Graph(G).degree()
 [2, 1]
 sage: h = Graph()
 sage: h.add_edge(1,2,"a")
 sage: h.add_edge(1,2,"a")
 sage: h.degree()
 [1, 2]
 }}}

 APPLY:
     * [attachment:trac_13664.patch]

--

Comment:

 P.S. : I hate edge labels. I hate multiple edges `:-P`

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