[GRASS-SVN] r60107 - grass/branches/releasebranch_7_0/raster/r.covar

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 5 06:02:07 PDT 2014


Author: mlennert
Date: 2014-05-05 06:02:07 -0700 (Mon, 05 May 2014)
New Revision: 60107

Modified:
   grass/branches/releasebranch_7_0/raster/r.covar/main.c
Log:
Add output of N value (number of cells considered) - Backport from trunk, r60035

Modified: grass/branches/releasebranch_7_0/raster/r.covar/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.covar/main.c	2014-05-05 11:18:23 UTC (rev 60106)
+++ grass/branches/releasebranch_7_0/raster/r.covar/main.c	2014-05-05 13:02:07 UTC (rev 60107)
@@ -109,6 +109,8 @@
     if (count <= 1.1)
 	G_fatal_error(_("No non-null values"));
 
+    fprintf(stdout, "N = %.0f\n", count);
+
     ii = jj = 1.0;
     for (i = 0; i < nfiles; i++) {
 	if (correlation)



More information about the grass-commit mailing list