From 55af6c2a899723b2786b4692b01e658fc4563469 Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Wed, 8 Feb 2012 17:11:19 -0500 Subject: [PATCH] Omit printing unless verbose mode --- cmd/gvmap/make_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/gvmap/make_map.c b/cmd/gvmap/make_map.c index bf5dde289..c13835bc3 100644 --- a/cmd/gvmap/make_map.c +++ b/cmd/gvmap/make_map.c @@ -1894,7 +1894,7 @@ int make_map_internal(int exclude_random, int include_OK_points, int nz, nh = 0;/* the set to highlight */ real *xtemp; if (HIGHLIGHT_SET){ - fprintf(stderr," hightlight cluster %d, n = %d\n",HIGHLIGHT_SET, n); + if (Verbose) fprintf(stderr," highlight cluster %d, n = %d\n",HIGHLIGHT_SET, n); xtemp = MALLOC(sizeof(real)*n*dim); /* shift set to the beginning */ nz = 0; @@ -1923,7 +1923,7 @@ int make_map_internal(int exclude_random, int include_OK_points, MEMCPY(*xcombined, xtemp, n*dim*sizeof(real)); *nrandom = *nrandom + n - nh;/* count everything except cluster HIGHLIGHT_SET as random */ n = nh; - fprintf(stderr,"nh = %d\n",nh); + if (Verbose) fprintf(stderr,"nh = %d\n",nh); FREE(xtemp); } } -- 2.40.0