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 <goo...@beezer.cotse.net> wrote: > 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 you are subscribed to the Google Groups > "sage-devel" group. > To post to this group, send email to sage-devel@googlegroups.com. > To unsubscribe from this group, send email to > sage-devel+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.