Skip to content

Commit

Permalink
update to new networkx version
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeisel committed Apr 25, 2024
1 parent 9d639a5 commit 9e1407c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/service_functions/gw_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

def best_gw_cuts(graph, n_GW_cuts, rounded=False):
np_graph_array = np.array(graph)
nx_graph = nx.from_numpy_matrix(np_graph_array)
nx_graph = nx.from_numpy_array(np_graph_array)

gw_cuts = []
for i in range(n_GW_cuts):
Expand Down

0 comments on commit 9e1407c

Please sign in to comment.