Opened 7 years ago

Closed 7 years ago

#13664 closed defect (fixed)

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 Merged in: sage-5.5.rc0
Authors: Nathann Cohen Reviewers: David Coudert
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by ncohen)

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 (1)

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

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by ncohen

comment:1 Changed 7 years ago by ncohen

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

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

comment:2 Changed 7 years ago by dcoudert

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

For me the patch is working.

comment:3 Changed 7 years ago by jdemeyer

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