From 429983e786a75ff95f81ef2f4f14ff9d7b836ce4 Mon Sep 17 00:00:00 2001
From: auphelia <jakobapk@web.de>
Date: Tue, 5 May 2020 10:35:40 +0100
Subject: [PATCH] [Analysis] Use new function name to find successors for
 analysis pass to check topological sort

---
 src/finn/analysis/topology.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/finn/analysis/topology.py b/src/finn/analysis/topology.py
index a94342565..3973c8d26 100644
--- a/src/finn/analysis/topology.py
+++ b/src/finn/analysis/topology.py
@@ -91,7 +91,7 @@ def nodes_in_expected_order(model):
 
     all_OK = True
     for n in model.graph.node:
-        successors = model.find_successors(n)
+        successors = model.find_direct_successors(n)
         if successors is not None:
             for successor in successors:
                 # check the condition by checking the antithesis
-- 
GitLab