X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3d11b865e20621ab35546483d933bd60f2785c18..967421ad9a8dcd567206f2c398a30c08c9507a81:/src/surf/maxmin.c diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index b8f4d10af5..a441d1e27e 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -661,7 +661,7 @@ void lmm_solve(lmm_system_t sys) xbt_swag_foreach(elem, elem_list) { 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); }