diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/utils.h b/kernel/utils.h index 7f10619bc..a03caf804 100644 --- a/kernel/utils.h +++ b/kernel/utils.h @@ -155,7 +155,7 @@ struct TopoSort void sort_worker(const T &n, std::set<T> &marked_cells, std::set<T> &active_cells, std::vector<T> &active_stack) { if (active_cells.count(n)) { - found_loops = false; + found_loops = true; if (analyze_loops) { std::set<T> loop; for (int i = SIZE(active_stack)-1; i >= 0; i--) { |