X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Ftrimmed-mean.c;fp=src%2Fmath%2Ftrimmed-mean.c;h=dff256c0d3319cd4bd0892adbcf250219a0e7505;hb=b9f712f8911170fcc049c6d7d83b6887185de4dd;hp=d44131a53b4c4eebf18efff5815f7723287f8348;hpb=2a76184b55a8c229adc0b31d3436d29076de0ef8;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, },