bad_weight_warn = true;
- ok = multipass_procedure_with_splits (calculate, &cmd);
+ ok = multipass_procedure_with_splits (current_dataset, calculate, &cmd);
n_pairs=0;
free(pairs);
lex_match('=');
n_vars=0;
- if (!parse_variables (default_dict, &vars, &n_vars,
+ if (!parse_variables (dataset_dict (current_dataset), &vars, &n_vars,
PV_DUPLICATE | PV_NUMERIC | PV_NO_SCRATCH))
{
free (vars);
if (lex_match (T_WITH))
{
n_before_WITH = n_vars;
- if (!parse_variables (default_dict, &vars, &n_vars,
+ if (!parse_variables (dataset_dict (current_dataset), &vars, &n_vars,
PV_DUPLICATE | PV_APPEND
| PV_NUMERIC | PV_NO_SCRATCH))
{
int i;
struct cmd_t_test *cmd = (struct cmd_t_test *)_cmd;
- double weight = dict_get_case_weight (default_dict, c, &bad_weight_warn);
+ double weight = dict_get_case_weight (dataset_dict (current_dataset), 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, &bad_weight_warn);
+ double weight = dict_get_case_weight (dataset_dict (current_dataset), 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, &bad_weight_warn);
+ double weight = dict_get_case_weight (dataset_dict (current_dataset), 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 = case_data (c, indep_var->fv);
const double weight =
- dict_get_case_weight (default_dict, c, &bad_weight_warn);
+ dict_get_case_weight (dataset_dict (current_dataset), c, &bad_weight_warn);
if ( value_is_missing(&indep_var->miss, gv) )
{