Salome HOME
Issue CEA914-Access to nb of branches from the plugin.
[modules/yacs.git] / src / engine / OptimizerLoop.cxx
index 0ed98f67e9fee8b550d29bdc220d5d002572c3e8..b3c0c0010e9554b8aa07ec0b66bcb5079b9d6cec 100644 (file)
@@ -180,6 +180,7 @@ void OptimizerLoop::exUpdateState()
           //internal graph update
           int i;
           int nbOfBr=_nbOfBranches.getIntValue();
+          _alg->setNbOfBranches(nbOfBr);
           if(nbOfBr==0)
             {
               // A number of branches of 0 is acceptable if there are no output ports