File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ def cycle_nodes(self):
152
152
parent = - 2
153
153
indirect_parents = []
154
154
ss = s
155
+ on_the_way_back = False
155
156
anticipating_nodes = set ()
156
157
157
158
while True :
@@ -199,6 +200,7 @@ def has_cycle(self):
199
200
parent = - 2
200
201
indirect_parents = []
201
202
ss = s
203
+ on_the_way_back = False
202
204
anticipating_nodes = set ()
203
205
204
206
while True :
@@ -367,6 +369,7 @@ def cycle_nodes(self):
367
369
parent = - 2
368
370
indirect_parents = []
369
371
ss = s
372
+ on_the_way_back = False
370
373
anticipating_nodes = set ()
371
374
372
375
while True :
@@ -414,6 +417,7 @@ def has_cycle(self):
414
417
parent = - 2
415
418
indirect_parents = []
416
419
ss = s
420
+ on_the_way_back = False
417
421
anticipating_nodes = set ()
418
422
419
423
while True :
You can’t perform that action at this time.
0 commit comments