static struct cmd_t_test cmd;
-
+static int bad_weight_warn;
int
cmd_t_test(void)
else
value_is_missing = is_missing;
+ bad_weight_warn = 1;
+
multipass_procedure_with_splits (calculate, &cmd);
n_pairs=0;
int i;
struct cmd_t_test *cmd = (struct cmd_t_test *)_cmd;
- double weight = dict_get_case_weight(default_dict,c);
+ double weight = dict_get_case_weight(default_dict,c,&bad_weight_warn);
/* Skip the entire case if /MISSING=LISTWISE is set */
struct cmd_t_test *cmd = (struct cmd_t_test *)cmd_;
- double weight = dict_get_case_weight(default_dict,c);
+ double weight = dict_get_case_weight(default_dict,c,&bad_weight_warn);
/* Skip the entire case if /MISSING=LISTWISE is set */
if ( cmd->miss == TTS_LISTWISE )
struct cmd_t_test *cmd = (struct cmd_t_test *) cmd_;
- double weight = dict_get_case_weight(default_dict,c);
+ double weight = dict_get_case_weight(default_dict,c,&bad_weight_warn);
/* Skip the entire case if /MISSING=LISTWISE is set ,
AND one member of a pair is missing */
const union value *gv = &c->data[indep_var->fv];
- const double weight = dict_get_case_weight(default_dict,c);
+ const double weight = dict_get_case_weight(default_dict,c,&bad_weight_warn);
if ( value_is_missing(gv,indep_var) )
{