- v = cmd.v_variables[i];
- val = case_data (&c, v->fv);
- /*
- Independent/dependent variable separation. The
- 'variables' subcommand specifies a varlist which contains
- both dependent and independent variables. The dependent
- variables are specified with the 'dependent'
- subcommand. We need to separate the two.
- */
- if (is_depvar (i))
- {
- if (v->type != NUMERIC)
- {
- msg (SE, gettext ("Dependent variable must be numeric."));
- pspp_reg_rc = CMD_FAILURE;
- return;
- }
- lcache->depvar = (const struct var *) v;
- gsl_vector_set (Y, row, val->f);
- }
- else