Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
when using doubles, %lg should be used for scanf and %g for printf (which is
[simgrid.git] / testsuite / surf / maxmin_usage.c
index 9a3b4e1..33f3213 100644 (file)
@@ -11,7 +11,7 @@
 #include <stdio.h>
 #include "surf/maxmin.h"
 
-#define PRINT_VAR(var) printf(#var " = %g\n",lmm_variable_getvalue(var));
+#define PRINT_VAR(var) printf(#var " = %lg\n",lmm_variable_getvalue(var));
 
 /*                               */
 /*        ______                 */