Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennun committed Oct 11, 2022
1 parent 2f6f06d commit 42cd81f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dace/sdfg/analysis/cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def _stateorder_topological_sort(sdfg: SDFG,
if node in visited or node is stop:
continue
yield node
visited.add(node)

oe = sdfg.out_edges(node)
if len(oe) == 0: # End state
Expand Down

0 comments on commit 42cd81f

Please sign in to comment.