]> AND Private Git Repository - loba.git/blobdiff - loba_lln.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Fix message::to_string().
[loba.git] / loba_lln.cpp
index fa762c853c1589f758fca11dbfe40b69abb62b94..35acb265cd1fb325d9dd453b167eea237e0d0875 100644 (file)
@@ -17,7 +17,7 @@ void loba_lln::load_balance()
        listLessLoadedNeighbors.clear();
                for(i=0;i<size;++i) {
                        S[i]=0.0;
        listLessLoadedNeighbors.clear();
                for(i=0;i<size;++i) {
                        S[i]=0.0;
-                       if( pneigh[i]->get_load()< lessLoad ) 
+                       if( pneigh[i]->get_load()< lessLoad )
                                        listLessLoadedNeighbors.push_back(i);
                }
                int nbLessLoadedNeighbors=listLessLoadedNeighbors.size();
                                        listLessLoadedNeighbors.push_back(i);
                }
                int nbLessLoadedNeighbors=listLessLoadedNeighbors.size();