From 6ebc409d03cc16a3cbe2120ab2dd6a88beb6287e Mon Sep 17 00:00:00 2001
From: Ferhat Mihoubi <ferhat.mihoubi@univ-evry.fr>
Date: Tue, 20 Sep 2011 15:02:27 +0200
Subject: [PATCH] Correct a bug related to the number of minimum feedback
 variables reported during the preprocessing step

---
 ModelTree.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ModelTree.cc b/ModelTree.cc
index eb9b749b..0fcd062e 100644
--- a/ModelTree.cc
+++ b/ModelTree.cc
@@ -745,7 +745,7 @@ ModelTree::printBlockDecomposition(const vector<pair<int, int> > &blocks) const
           if (size > largest_block)
             {
               largest_block = size;
-              Nb_feedback_variable = blocks[Nb_SimulBlocks-1].second;
+              Nb_feedback_variable = getBlockMfs(block);
             }
         }
     }
-- 
GitLab