From: Arnaud Giersch Date: Mon, 3 Oct 2011 19:37:02 +0000 (+0200) Subject: Cosmetics: use a litteral constant of type double. X-Git-Tag: exp_20120216~22 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/88921c948c99bfaf470e528e6e6d004c22905a40?ds=inline Cosmetics: use a litteral constant of type double. --- diff --git a/main.cpp b/main.cpp index 12f1ae2..b50340a 100644 --- 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...