Skip to content
Snippets Groups Projects
Commit c368e491 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Remove superfluous attribution

It is useless to add to an attribute to v since, after the current
iteration, v will be isolated, and so it will not be used in remaining
iterations, and moreover it will be deleted after the loop.
parent 68fe1f3e
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,6 @@ for v in g.vertices():
for v3 in v.out_neighbors():
g.remove_edge(g.edge(v, v3))
g.vp.inst_eddies[v].append(int(g.vp.name[v3]))
g.add_edge(v2, v3)
verts_to_del.append(v)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment