bool warn = true;
double sigma_t = 0.0;
- struct datum *row = xcalloc (ost->n_vars, sizeof *row);
+ struct datum *row = XCALLOC (ost->n_vars, struct datum);
double rsq;
struct friedman fr;
fr.rank_sum = xcalloc (ost->n_vars, sizeof *fr.rank_sum);
double prev_x = SYSMIS;
int run_length = 0;
- const double w = weight ? case_data (c, weight)->f: 1.0;
+ const double w = weight ? case_num (c, weight) : 1.0;
fr.cc += w;