X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/fcd459bb8111ad48e14e2b083c94f08be1404002..48b49c2ca6573b31386bd5afd4e68304c740e8ec:/loba_bulk.cpp?ds=sidebyside diff --git a/loba_bulk.cpp b/loba_bulk.cpp index f5ec64e..44d54ab 100644 --- a/loba_bulk.cpp +++ b/loba_bulk.cpp @@ -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;