Skip to content

Commit

Permalink
Fix findSCCNodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ymherklotz committed Nov 8, 2024
1 parent 7c19a04 commit 633bcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataflowRewriter/Rewriter.lean
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ never reached an output node.
-/
def findSCCNodes (g : ExprHigh String) (startN endN : String) : Option (List String) := do
let l ← findSCCNodes' (← fullCalcSucc g) startN endN
let l' ← findSCCNodes' (← fullCalcSucc g.invert) startN endN
let l' ← findSCCNodes' (← fullCalcSucc g.invert) endN startN
return l.union l'

end DataflowRewriter

0 comments on commit 633bcf4

Please sign in to comment.