X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4b79356ada36bf494ce5f1a7bcc3744b9d31f2e3..e2dc20f5c76435eb341f8ba275e9f1ec8e5d5791:/loba_lln.cpp?ds=inline diff --git a/loba_lln.cpp b/loba_lln.cpp index fa762c8..35acb26 100644 --- a/loba_lln.cpp +++ b/loba_lln.cpp @@ -17,7 +17,7 @@ void loba_lln::load_balance() listLessLoadedNeighbors.clear(); for(i=0;iget_load()< lessLoad ) + if( pneigh[i]->get_load()< lessLoad ) listLessLoadedNeighbors.push_back(i); } int nbLessLoadedNeighbors=listLessLoadedNeighbors.size();