X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fwilcoxon.c;h=268296d7e6ee404f2a6657d7970ec385628ff05e;hb=12212dfd8afc14405274703b511c32d362ec0ab5;hp=197124cf6025fbe001a1763360307b80d5ddbda0;hpb=844259de34f3b5ed9c1b4a024da63f96f4f2194e;p=pspp-builds.git diff --git a/src/language/stats/wilcoxon.c b/src/language/stats/wilcoxon.c index 197124cf..268296d7 100644 --- a/src/language/stats/wilcoxon.c +++ b/src/language/stats/wilcoxon.c @@ -22,8 +22,6 @@ #include #include -#include -#include #include #include @@ -32,15 +30,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include -#include #include "minmax.h" #include "xalloc.h" @@ -84,7 +79,7 @@ wilcoxon_execute (const struct dataset *ds, int i; bool warn = true; const struct dictionary *dict = dataset_dict (ds); - const struct two_sample_test *t2s = (struct two_sample_test *) test; + const struct two_sample_test *t2s = UP_CAST (test, const struct two_sample_test, parent); struct wilcoxon_state *ws = xcalloc (sizeof (*ws), t2s->n_pairs); const struct variable *weight = dict_get_weight (dict);