#include <config.h>
#include "factor-stats.h"
-#include "value.h"
-#include "hash.h"
-#include "array.h"
-#include "alloc.h"
+#include <data/value.h>
+#include <libpspp/hash.h>
+#include <libpspp/array.h>
+#include <libpspp/alloc.h>
#include "moments.h"
#include "percentiles.h"
/* 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 )