[GRASS-SVN] r54782 - grass-addons/grass7/raster/r.hants

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 27 02:18:48 PST 2013


Author: mmetz
Date: 2013-01-27 02:18:47 -0800 (Sun, 27 Jan 2013)
New Revision: 54782

Modified:
   grass-addons/grass7/raster/r.hants/main.c
Log:
r.hants: disable debug output

Modified: grass-addons/grass7/raster/r.hants/main.c
===================================================================
--- grass-addons/grass7/raster/r.hants/main.c	2013-01-27 09:13:42 UTC (rev 54781)
+++ grass-addons/grass7/raster/r.hants/main.c	2013-01-27 10:18:47 UTC (rev 54782)
@@ -454,7 +454,7 @@
     /* process the data */
     G_message(_("Harmonic analysis of %d input maps..."), num_inputs);
 
-    dumped = 0;
+    dumped = 1;
 
     for (row = 0; row < nrows; row++) {
 	G_percent(row, nrows, 4);
@@ -595,11 +595,10 @@
 		 * dump original and approximated values for one cell to stdout */
 		if (non_null >= 20 && done == 1 && !dumped &&
 		    row > nrows / 3 && col > ncols / 2 ) {
-#if 1
+
 		    for (i = 0; i < num_inputs; i++) {
 			fprintf(stdout, "%g;%g\n", values[i], rc[i]);
 		    }
-#endif
 		    dumped = 1;
 		}
 



More information about the grass-commit mailing list