Re: [sage-devel] Extra loop created in a graph

2012-11-29 Thread Nathann Cohen
Helloo ! I ran into something similar a little while back in sage-5.0 > > sage: G = Graph([(0,1,0),(0,1,0)]) > sage: G.num_edges() > 4 > > but IIRC, it was fixed in 5.3. > Yep ! sage: G = Graph([(0,1,0),(0,1,0)]) sage: G.num_edges() 2 Nathann > > -- You received this message beca

Re: [sage-devel] Extra loop created in a graph

2012-11-28 Thread Tom Boothby
Hey Rob, I ran into something similar a little while back in sage-5.0 sage: G = Graph([(0,1,0),(0,1,0)]) sage: G.num_edges() 4 but IIRC, it was fixed in 5.3. On Wed, Nov 28, 2012 at 8:02 PM, Rob Beezer wrote: > Anybody recognise this bug? I don't see anything in Trac. > > T=[(0, 2, '0'), (3,

[sage-devel] Extra loop created in a graph

2012-11-28 Thread Rob Beezer
Anybody recognise this bug? I don't see anything in Trac. T=[(0, 2, '0'), (3, 3, '2'), (0, 2, '1')] Gt = Graph(T) Gt.loops() [(3, 3, '2')] versus S=[(0, 2, '0'), (0, 2, '1'), (3, 3, '2')] Gs = Graph(S) Gs.loops() [(3, 3, '2'), (3, 3, '2')] Thanks, Rob -- You received this message because y