Ticket #13664 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

Another bug in add_edge

Reported by: ncohen Owned by: jason, ncohen, rlm
Priority: major Milestone: sage-5.5
Component: graph theory Keywords:
Cc: nthiery, fhivert, dcoudert Work issues:
Report Upstream: N/A Reviewers: David Coudert
Authors: Nathann Cohen Merged in: sage-5.5.rc0
Dependencies: Stopgaps:

Description (last modified by ncohen) (diff)

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:

Attachments

trac_13664.patch Download (1.6 KB) - added by ncohen 7 months ago.

Change History

Changed 7 months ago by ncohen

comment:1 Changed 7 months ago by ncohen

  • Status changed from new to needs_review
  • Description modified (diff)

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

comment:2 Changed 7 months ago by dcoudert

  • Status changed from needs_review to positive_review
  • Reviewers set to David Coudert

For me the patch is working.

comment:3 Changed 6 months ago by jdemeyer

  • Status changed from positive_review to closed
  • Resolution set to fixed
  • Merged in set to sage-5.5.rc0
Note: See TracTickets for help on using tickets.