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

Private GIT Repository
Add missing include.
[loba.git] / main.cpp
index 12f1ae245140db23fa59c415f148edd5e34c7893..b50340ab3dbe97534b30d3ac2d8b014c9b020bef 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -92,7 +92,7 @@ static int simulation_main(int argc, char* argv[])
         ctrl_send_count.push(proc->get_ctrl_send_count());
         ctrl_recv_count.push(proc->get_ctrl_recv_count());
         double c = proc->get_convergence();
-        if (c != -1)
+        if (c != -1.0)
             convergence.push(c);
 
         // Synchronization barrier...