Subject: | self-edges reported twice in edges_at |
Hi Jarkko
I don't know if this intentional or a bug, but self-edges are reported twice by edges_at.
---------- bug.pl ----------
use strict;
use Graph::Directed;
my $g=new Graph::Directed();
$g->add_edge(0,0);
my @e=$g->edges_at(0);
map {print "@$_\n"} @e;
Show quoted text
---------- output ----------
> perl bug.pl
0 0
0 0
----------
Best,
Nat