Commit cf706874 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

* fix edge vs. vertex centrality swap


git-svn-id: https://svn.forked.de/graph-tool/trunk@112 d4600afd-f417-0410-95de-beed9576f240
parent bcf9f944
......@@ -523,7 +523,7 @@ def parse_option(opt, just_file=False):
weight = values[2]
else:
weight = ""
graph.GetBetweenness(weight, vertex_centrality, edge_centrality)
graph.GetBetweenness(weight, edge_centrality, vertex_centrality)
elif opt.name == "central-point-dominance":
values = parse_values(opt.value)
if len(values) != 2:
......
Markdown is supported
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