projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert to utf8 in data_out function.
[pspp-builds.git]
/
src
/
math
/
trimmed-mean.c
diff --git
a/src/math/trimmed-mean.c
b/src/math/trimmed-mean.c
index fa205017bca35a046f01c2156a0e7fe9b3dabc89..da3d4240e5b232533de6c5c31073b53adda49f48 100644
(file)
--- a/
src/math/trimmed-mean.c
+++ b/
src/math/trimmed-mean.c
@@
-77,6
+77,8
@@
trimmed_mean_calculate (const struct trimmed_mean *tm)
{
const struct order_stats *os = (const struct order_stats *) tm;
+ assert (os->cc == tm->w);
+
return
(
(os->k[0].cc_p1 - os->k[0].tc) * os->k[0].y_p1