]> granicus.if.org Git - graphviz/commitdiff
Fix print statement to use %f for doubles.
authorEmden Gansner <erg@research.att.com>
Fri, 7 Oct 2011 18:23:38 +0000 (14:23 -0400)
committerEmden Gansner <erg@research.att.com>
Fri, 7 Oct 2011 18:23:38 +0000 (14:23 -0400)
lib/neatogen/stress.c

index b10bd838c733e784233c673e8375d03b509b7a7f..11a9b6257f8ef26a601b35f4e1dc48b05b3611ac 100644 (file)
@@ -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 */
        }