From 7bc16fc1a7b946096e47f4dc33939727b4fc162d Mon Sep 17 00:00:00 2001 From: Mridul Seth Date: Wed, 7 Jun 2023 21:53:24 -0500 Subject: [PATCH] another fix --- nams/solutions/got.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nams/solutions/got.py b/nams/solutions/got.py index 289d80a2..289d0a70 100644 --- a/nams/solutions/got.py +++ b/nams/solutions/got.py @@ -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),