Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MridulS committed Jun 8, 2023
1 parent eb67eb6 commit 7bc16fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nams/solutions/got.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def weighted_degree(G, weight):
def correlation_centrality(G):
cor = pd.DataFrame.from_records(
[
nx.pagerank_numpy(G, weight="weight"),
nx.pagerank(G, weight="weight"),
nx.betweenness_centrality(G, weight="weight_inv"),
weighted_degree(G, "weight"),
nx.degree_centrality(G),
Expand Down

0 comments on commit 7bc16fc

Please sign in to comment.