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

Private GIT Repository
Remove useless include.
[loba.git] / process.cpp
index cbf512b6b66d2fde431d060030cf072868b942e2..c519cd85320ffb7575603f70eb23decf9238dad4 100644 (file)
@@ -179,13 +179,13 @@ void process::compute_loop()
 
         comm.data_flush(false);
 
-        if (real_load == 0.0)
-            continue;
-
         // send
         std::for_each(neigh.begin(), neigh.end(),
                       bind(&process::data_send, this, _1));
 
+        if (real_load == 0.0)
+            continue;
+
         // compute
         ++comp_iter;
         double flops = opt::comp_cost(real_load);