math: Make 'accumulate' a feature of order statistics, not all stats.
[pspp] / src / math / trimmed-mean.c
index d44131a53b4c4eebf18efff5815f7723287f8348..dff256c0d3319cd4bd0892adbcf250219a0e7505 100644 (file)
@@ -57,9 +57,9 @@ trimmed_mean_create (double W, double tail)
   *tm = (struct trimmed_mean) {
     .parent = {
       .parent = {
-        .accumulate = acc,
         .destroy = destroy,
       },
+      .accumulate = acc,
       .k = tm->k,
       .n_k = 2,
     },