X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Ffactor-stats.c;h=fde6abe1d99e01c3c6b5af19fdc9322256466260;hb=d988fcc34683f37658be9f234ce02d29946524c5;hp=8b6f4e8436357c7ff38665cb538951087e162668;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp-builds.git diff --git a/src/math/factor-stats.c b/src/math/factor-stats.c index 8b6f4e84..fde6abe1 100644 --- a/src/math/factor-stats.c +++ b/src/math/factor-stats.c @@ -20,10 +20,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #include #include "factor-stats.h" -#include "value.h" -#include "hash.h" -#include "array.h" -#include "alloc.h" +#include +#include +#include +#include #include "moments.h" #include "percentiles.h" @@ -185,9 +185,11 @@ metrics_postcalc(struct metrics *m) /* Calculate the percentiles */ - ptiles(m->ptile_hash, m->wvp, m->n_data, m->n, m->ptile_alg); + ptiles (m->ptile_hash, (const struct weighted_value **) m->wvp, + m->n_data, m->n, m->ptile_alg); - tukey_hinges(m->wvp, m->n_data, m->n, m->hinge); + tukey_hinges ((const struct weighted_value **) m->wvp, + m->n_data, m->n, m->hinge); /* Special case here */ if ( k1 + 1 == k2 )