X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/51909edd89ccd195ba335606743a650807123999..625f9acc93a4f369d1b6c1ad98d66e04c3632da5:/loba_fairstrategy.cpp

diff --git a/loba_fairstrategy.cpp b/loba_fairstrategy.cpp
index 5530f5a..4054729 100644
--- a/loba_fairstrategy.cpp
+++ b/loba_fairstrategy.cpp
@@ -6,14 +6,11 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba);
 
 void loba_fairstrategy::load_balance()
 {
-    const double delta = 0.001;
-
     pneigh_sort_by_load(std::greater<double>());
-
     print_loads_p(false, xbt_log_priority_debug);
 
+    const double delta = 0.001;
     bool found = true;
-
     while (found) {
         found = false;
         for (unsigned i = 0 ; i < pneigh.size() ; ++i) {