You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# We'll need the graph's adjacency matrix often, so store it once
77
77
self.graph_adj_matrix=nx.adj_matrix(graph).todense() # Must convert to dense matrix before making into a numpy array (line was previously: self.graph_adj_matrix = nx.adj_matrix(graph))
78
-
self.graph_adj_matrix=nx.adj_matrix(graph)
79
78
#make sure adj_matrix is binary otherwise raise exception
0 commit comments