Commit 59237426 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix typo in avg_neighbour_corr()

parent 47394f90
...@@ -419,7 +419,7 @@ def avg_neighbour_corr(g, deg_source, deg_target, bins=[1], weight=None): ...@@ -419,7 +419,7 @@ def avg_neighbour_corr(g, deg_source, deg_target, bins=[1], weight=None):
ret = libgraph_tool_correlations.\ ret = libgraph_tool_correlations.\
vertex_avg_correlation(g._Graph__graph, _degree(g, deg_source), vertex_avg_correlation(g._Graph__graph, _degree(g, deg_source),
_degree(g, deg_source), _prop("e", g, weight), _degree(g, deg_target), _prop("e", g, weight),
bins) bins)
return [ret[0], ret[1], ret[2][0]] return [ret[0], ret[1], ret[2][0]]
......
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