Skip to content

Commit 10c1d7f

Browse files
committed
refact(net): drop old dag nx-package
1 parent 52c0d77 commit 10c1d7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphkit/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def compile(self):
107107
self.steps = []
108108

109109
# create an execution order such that each layer's needs are provided.
110-
ordered_nodes = list(nx.dag.topological_sort(self.graph))
110+
ordered_nodes = list(nx.topological_sort(self.graph))
111111

112112
# add Operations evaluation steps, and instructions to free data.
113113
for i, node in enumerate(ordered_nodes):

0 commit comments

Comments
 (0)