Skip to content

Commit 3437806

Browse files
committed
Fix a small issue with sub-graph extraction
1 parent 2f04bd9 commit 3437806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fedivertex/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,6 @@ def get_graph(
210210
nx.strongly_connected_components(graph), key=len, default=()
211211
)
212212

213-
graph = graph.subgraph(largest_cc)
213+
graph = graph.subgraph(largest_cc).copy()
214214

215215
return graph

0 commit comments

Comments
 (0)