From 88921c948c99bfaf470e528e6e6d004c22905a40 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 3 Oct 2011 21:37:02 +0200 Subject: [PATCH 1/1] Cosmetics: use a litteral constant of type double. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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... -- 2.39.5