int v;
struct casereader *r = casereader_clone (input);
- struct ks *ks = xcalloc (ost->n_vars, sizeof *ks);
+ struct ks *ks = XCALLOC (ost->n_vars, struct ks);
for (v = 0; v < ost->n_vars; ++v)
{
const struct variable *var = ost->vars[v];
const union value *val = case_data (c, var);
- if (var_is_value_missing (var, val, exclude))
+ if (var_is_value_missing (var, val) & exclude)
continue;
minimize (&ks[v].test_min, val->f);
const double weight = dict_get_case_weight (dict, c, &warn);
const union value *val = case_data (c, var);
- if (var_is_value_missing (var, val, exclude))
+ if (var_is_value_missing (var, val) & exclude)
continue;
cc += weight;