[GRASS-SVN] r42178 - grass/branches/releasebranch_6_4/raster/r.univar2

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 8 16:22:11 EDT 2010


Author: neteler
Date: 2010-05-08 16:22:11 -0400 (Sat, 08 May 2010)
New Revision: 42178

Modified:
   grass/branches/releasebranch_6_4/raster/r.univar2/stats.c
Log:
also output data cells number

Modified: grass/branches/releasebranch_6_4/raster/r.univar2/stats.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.univar2/stats.c	2010-05-08 20:19:04 UTC (rev 42177)
+++ grass/branches/releasebranch_6_4/raster/r.univar2/stats.c	2010-05-08 20:22:11 UTC (rev 42178)
@@ -110,6 +110,7 @@
     if (param.shell_style->answer) {
 	fprintf(stdout, "n=%d\n", stats->n);
 	fprintf(stdout, "null_cells=%d\n", stats->size - stats->n);
+	fprintf(stdout, "cells=%d\n", stats->size);
 	fprintf(stdout, "min=%.15g\n", stats->min);
 	fprintf(stdout, "max=%.15g\n", stats->max);
 	fprintf(stdout, "range=%.15g\n", stats->max - stats->min);



More information about the grass-commit mailing list