X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flevene.c;h=920440103b4d5b33bcb6721746b1048591f61693;hb=286fe5a93b54a3c22d4c28468ff269afb859fb49;hp=105fc09303e5cce49bd797f1c9509a3278e77408;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp diff --git a/src/math/levene.c b/src/math/levene.c index 105fc09303..920440103b 100644 --- a/src/math/levene.c +++ b/src/math/levene.c @@ -21,17 +21,17 @@ #include #include "levene.h" -#include "message.h" -#include "case.h" -#include "casefile.h" -#include "dictionary.h" +#include +#include +#include +#include #include "group-proc.h" -#include "hash.h" -#include "str.h" -#include "variable.h" -#include "procedure.h" -#include "alloc.h" -#include "misc.h" +#include +#include +#include +#include +#include +#include #include "group.h" #include @@ -187,11 +187,11 @@ static int levene_calc (const struct ccase *c, void *_l) { size_t i; - int warn = 0; + bool warn = false; struct levene_info *l = (struct levene_info *) _l; const union value *gv = case_data (c, l->v_indep->fv); struct group_statistics key; - double weight = dict_get_case_weight(default_dict,c,&warn); + double weight = dict_get_case_weight (default_dict, c, &warn); /* Skip the entire case if /MISSING=LISTWISE is set */ if ( l->missing == LEV_LISTWISE ) @@ -291,11 +291,11 @@ static int levene2_calc (const struct ccase *c, void *_l) { size_t i; - int warn = 0; + bool warn = false; struct levene_info *l = (struct levene_info *) _l; - double weight = dict_get_case_weight(default_dict,c,&warn); + double weight = dict_get_case_weight (default_dict, c, &warn); const union value *gv = case_data (c, l->v_indep->fv); struct group_statistics key;