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

Private GIT Repository
Cosmetics: use a litteral constant of type double.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 3 Oct 2011 19:37:02 +0000 (21:37 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 3 Oct 2011 19:37:02 +0000 (21:37 +0200)
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...