Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill dead code and plug leak
[simgrid.git] / src / surf / lagrange.cpp
index edc5cd4..20f16b5 100644 (file)
@@ -182,7 +182,7 @@ void lagrange_solve(lmm_system_t sys)
     lmm_print(sys);
   }
 
-  if (!(sys->modified))
+  if (not sys->modified)
     return;
 
   /* Initialize lambda. */
@@ -291,7 +291,7 @@ void lagrange_solve(lmm_system_t sys)
     }
 
     XBT_DEBUG("-------------- Check feasability ----------");
-    if (!__check_feasible(cnst_list, var_list, 0))
+    if (not __check_feasible(cnst_list, var_list, 0))
       overall_modification = 1.0;
     XBT_DEBUG("Iteration %d: overall_modification : %f", iteration, overall_modification);
     /*     if(not dual_updated) { */