[GRASS-SVN] r60109 - grass/branches/releasebranch_6_4/raster/r.covar

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 5 06:05:09 PDT 2014


Author: mlennert
Date: 2014-05-05 06:05:09 -0700 (Mon, 05 May 2014)
New Revision: 60109

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

Modified: grass/branches/releasebranch_6_4/raster/r.covar/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.covar/main.c	2014-05-05 13:03:16 UTC (rev 60108)
+++ grass/branches/releasebranch_6_4/raster/r.covar/main.c	2014-05-05 13:05:09 UTC (rev 60109)
@@ -128,6 +128,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