math: Make 'accumulate' a feature of order statistics, not all stats.
[pspp] / src / math / shapiro-wilk.c
index 27ca1f0fb558adddc9c9d5af77a32580cf14a954..c2c8da6a9b363bb3b2740f5a954fc60ff83ad024 100644 (file)
@@ -154,7 +154,7 @@ shapiro_wilk_create (int n, double mean)
 
   sw->warned = false;
 
-  stat->accumulate = acc;
+  os->accumulate = acc;
   stat->destroy = destroy;
 
   return sw;