[GRASS-SVN] r60035 - grass/trunk/raster/r.covar

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 2 02:21:19 PDT 2014


Author: mlennert
Date: 2014-05-02 02:21:19 -0700 (Fri, 02 May 2014)
New Revision: 60035

Modified:
   grass/trunk/raster/r.covar/main.c
Log:
Add output of N value (number of cells considered)


Modified: grass/trunk/raster/r.covar/main.c
===================================================================
--- grass/trunk/raster/r.covar/main.c	2014-05-02 08:33:14 UTC (rev 60034)
+++ grass/trunk/raster/r.covar/main.c	2014-05-02 09:21:19 UTC (rev 60035)
@@ -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