projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: Make 'accumulate' a feature of order statistics, not all stats.
[pspp]
/
src
/
math
/
trimmed-mean.c
diff --git
a/src/math/trimmed-mean.c
b/src/math/trimmed-mean.c
index d44131a53b4c4eebf18efff5815f7723287f8348..dff256c0d3319cd4bd0892adbcf250219a0e7505 100644
(file)
--- 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,
},