X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/a243be6b0e0af216b0bd53bc82d6cd315d43b181..cb0554d856608cef6bf4c6d92f9b26f203cc97a8:/loba_bulk.cpp?ds=inline diff --git a/loba_bulk.cpp b/loba_bulk.cpp index f5ec64e..0821eda 100644 --- a/loba_bulk.cpp +++ b/loba_bulk.cpp @@ -1,5 +1,5 @@ +#include #include -#include XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba); @@ -14,7 +14,7 @@ void loba_bulk::load_balance() unsigned NbNeighbours = pneigh.size(); double *S = new double[NbNeighbours]; - for (unsigned i = 0; i < NbNeighbours; i++) + for (unsigned i = 0; i < NbNeighbours; i++) S[i] = 0.0; //What is the minimum and maximum load under myLoad? float minLoad = myLoad;