/* PSPP - computes sample statistics.
Copyright (C) 2006 Free Software Foundation, Inc.
- Written by John Darrington <john@darrington.wattle.id.au>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
const struct ccase *c,
const struct variable *var)
{
- const union value *val = case_data (c, var->fv) ;
+ const union value *val = case_data (c, var) ;
- if ( var_get_type (var) != ALPHA && val->f == SYSMIS )
+ if ( var_is_numeric (var) && val->f == SYSMIS )
return true;
if ( filter->exclude_user_missing &&
filter considers. N_VARS is the size of VARS */
void
casefilter_add_variables (struct casefilter *filter,
- struct variable **vars, int n_vars)
+ struct variable *const *vars, int n_vars)
{
int i;
free (filter->vars);
free (filter);
}
-
-