Changed int to bool in dict_get_weight and sort_active_file_in_place
[pspp-builds.git] / src / math / levene.c
index 7a034621d507605574010dd87ac722a4069023f4..920440103b4d5b33bcb6721746b1048591f61693 100644 (file)
@@ -29,7 +29,7 @@
 #include <libpspp/hash.h>
 #include <libpspp/str.h>
 #include <data/variable.h>
-#include <procedure.h>
+#include <data/procedure.h>
 #include <libpspp/alloc.h>
 #include <libpspp/misc.h>
 #include "group.h"
@@ -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;