Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't trust gcc for cleaning your code after you. he's too dumb to be trusted
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 10 Nov 2009 12:33:10 +0000 (12:33 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 10 Nov 2009 12:33:10 +0000 (12:33 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6837 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/maxmin.c

index b8e210d..ce9d3ad 100644 (file)
@@ -503,7 +503,6 @@ void lmm_solve(lmm_system_t sys)
     cnst->remaining = cnst->bound;
     cnst->usage = 0;
     elem_list = &(cnst->element_set);
-    cnst->usage = 0.0;
     xbt_swag_foreach(elem, elem_list) {
       /* 0-weighted elements (ie, sleep actions) are at the end of the swag and we don't want to consider them */
       if (elem->variable->weight <= 0)