From: Emden Gansner Date: Fri, 7 Oct 2011 18:23:38 +0000 (-0400) Subject: Fix print statement to use %f for doubles. X-Git-Tag: LAST_LIBGRAPH~32^2~646 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b222703d373a2ee77db8773232f0d92cc2466ec6;p=graphviz Fix print statement to use %f for doubles. --- diff --git a/lib/neatogen/stress.c b/lib/neatogen/stress.c index b10bd838c..11a9b6257 100644 --- a/lib/neatogen/stress.c +++ b/lib/neatogen/stress.c @@ -1882,7 +1882,7 @@ int stress_majorization_kD_mkernel(vtx_data * graph, /* Input graph in sparse re d_coords[i][j] = coords[i][j]; #ifdef WITH_CGRAPH if (Verbose) - fprintf (stderr, "%d\n",coords[i][j]); + fprintf (stderr, "%f\n",coords[i][j]); #endif /* WITH_CGRAPH */ }