Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
59237426
Commit
59237426
authored
Jul 30, 2009
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in avg_neighbour_corr()
parent
47394f90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph_tool/correlations/__init__.py
src/graph_tool/correlations/__init__.py
+1
-1
No files found.
src/graph_tool/correlations/__init__.py
View file @
59237426
...
...
@@ -419,7 +419,7 @@ def avg_neighbour_corr(g, deg_source, deg_target, bins=[1], weight=None):
ret
=
libgraph_tool_correlations
.
\
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
)
return
[
ret
[
0
],
ret
[
1
],
ret
[
2
][
0
]]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment