[GRASS-SVN] r72788 - grass/trunk/lib/stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jun 9 10:00:00 PDT 2018
Author: mmetz
Date: 2018-06-09 10:00:00 -0700 (Sat, 09 Jun 2018)
New Revision: 72788
Modified:
grass/trunk/lib/stats/c_kurt.c
grass/trunk/lib/stats/c_skew.c
Log:
libstats: init vars
Modified: grass/trunk/lib/stats/c_kurt.c
===================================================================
--- grass/trunk/lib/stats/c_kurt.c 2018-06-09 16:56:07 UTC (rev 72787)
+++ grass/trunk/lib/stats/c_kurt.c 2018-06-09 17:00:00 UTC (rev 72788)
@@ -26,6 +26,7 @@
ave = sum / count;
sumsq = 0;
+ sumqt = 0;
for (i = 0; i < n; i++) {
DCELL d;
@@ -68,6 +69,7 @@
ave = sum / count;
sumsq = 0;
+ sumqt = 0;
for (i = 0; i < n; i++) {
DCELL d;
Modified: grass/trunk/lib/stats/c_skew.c
===================================================================
--- grass/trunk/lib/stats/c_skew.c 2018-06-09 16:56:07 UTC (rev 72787)
+++ grass/trunk/lib/stats/c_skew.c 2018-06-09 17:00:00 UTC (rev 72788)
@@ -28,6 +28,7 @@
ave = sum / count;
sumsq = 0;
+ sumcb = 0;
for (i = 0; i < n; i++) {
DCELL d;
@@ -70,6 +71,7 @@
ave = sum / count;
sumsq = 0;
+ sumcb = 0;
for (i = 0; i < n; i++) {
DCELL d;
More information about the grass-commit
mailing list