[GRASS-SVN] r53535 - grass/trunk/vector/v.univar

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 24 00:28:09 PDT 2012


Author: neteler
Date: 2012-10-24 00:28:09 -0700 (Wed, 24 Oct 2012)
New Revision: 53535

Modified:
   grass/trunk/vector/v.univar/main.c
Log:
mlennert: added missing sum output

Modified: grass/trunk/vector/v.univar/main.c
===================================================================
--- grass/trunk/vector/v.univar/main.c	2012-10-24 07:27:53 UTC (rev 53534)
+++ grass/trunk/vector/v.univar/main.c	2012-10-24 07:28:09 UTC (rev 53535)
@@ -516,6 +516,7 @@
 	    fprintf(stdout, "min=%g\n", min);
 	    fprintf(stdout, "max=%g\n", max);
 	    fprintf(stdout, "range=%g\n", max - min);
+	    fprintf(stdout, "sum=%g\n", sum);
 	    if (compatible && (otype & GV_POINTS)) {
 		fprintf(stdout, "mean=%g\n", mean);
 		fprintf(stdout, "mean_abs=%g\n", mean_abs);
@@ -548,6 +549,7 @@
 	    fprintf(stdout, "minimum: %g\n", min);
 	    fprintf(stdout, "maximum: %g\n", max);
 	    fprintf(stdout, "range: %g\n", max - min);
+	    fprintf(stdout, "sum: %g\n", sum);
 	    if (compatible && (otype & GV_POINTS)) {
 		fprintf(stdout, "mean: %g\n", mean);
 		fprintf(stdout, "mean of absolute values: %g\n", mean_abs);



More information about the grass-commit mailing list