X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f9436b840852218b39dce22d6057b6f223168daa..3287799e891ebf4d99a64c7d955955da1a37eb44:/src/surf/lagrange.cpp diff --git a/src/surf/lagrange.cpp b/src/surf/lagrange.cpp index edc5cd4aa9..20f16b5951 100644 --- a/src/surf/lagrange.cpp +++ b/src/surf/lagrange.cpp @@ -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) { */