Commit 1ffb38cb authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

fixed line graph


git-svn-id: https://svn.forked.de/graph-tool/trunk@66 d4600afd-f417-0410-95de-beed9576f240
parent a9e10b6b
......@@ -86,7 +86,7 @@ struct get_line_graph
{
typename graph_traits<Graph>::out_edge_iterator e1, e2, e_end;
for (tie(e1, e_end) = out_edges(*v, g); e1 != e_end; ++e1)
for (tie(e2, e_end) = out_edges(*v, g); e2 != e_end; ++e2)
for (e2 = e1; e2 != e_end; ++e2)
if (*e1 != *e2)
{
typename graph_traits<line_graph_t>::edge_descriptor new_edge;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment