Commit 4f7c6cd8 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

* fixed issue with --edit-edge-property and undirected graphs


git-svn-id: https://svn.forked.de/graph-tool/trunk@90 d4600afd-f417-0410-95de-beed9576f240
parent 3ee3d1d2
...@@ -167,8 +167,9 @@ struct edit_property ...@@ -167,8 +167,9 @@ struct edit_property
for (tie(ei, e_end) = edges(g); ei != e_end; ++ei) for (tie(ei, e_end) = edges(g); ei != e_end; ++ei)
{ {
e = *ei; e = *ei;
Descriptor& ec = e;
python::object val = operation(); python::object val = operation();
prop_map.put(*ei, val); prop_map.put(ec, val);
} }
} }
......
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