Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Platform generation: little modifications to the connectedness check function
[simgrid.git] / src / surf / maxmin.c
index b8f4d10..e9f635d 100644 (file)
@@ -659,9 +659,9 @@ void lmm_solve(lmm_system_t sys)
           make_elem_inactive(elem);
           elem_list = &(cnst->element_set);
           xbt_swag_foreach(elem, elem_list) {
-              make_elem_active(elem);
+//              make_elem_active(elem);
             if (elem->variable->weight <= 0 || elem->variable->value > 0)
-              continue;
+              break;
             if (elem->value > 0)
               cnst->usage = MAX(cnst->usage, elem->value / elem->variable->weight);
           }