X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Ftrimmed-mean.c;h=dff256c0d3319cd4bd0892adbcf250219a0e7505;hb=0c446408109faa319a17d802bf8a0972b824305a;hp=d44131a53b4c4eebf18efff5815f7723287f8348;hpb=1bb28b0cb5e25b5e3a5cf50ae8864f886fa1d221;p=pspp diff --git a/src/math/trimmed-mean.c b/src/math/trimmed-mean.c index d44131a53b..dff256c0d3 100644 --- a/src/math/trimmed-mean.c +++ b/src/math/trimmed-mean.c @@ -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, },