From: John Darrington Date: Wed, 26 Jun 2013 16:37:30 +0000 (+0200) Subject: linreg.c: Remove superfluous cast X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78a8e997fc7e585251b7ef9e0d19b715a914bdc9;p=pspp linreg.c: Remove superfluous cast --- diff --git a/src/language/stats/regression.c b/src/language/stats/regression.c index e5cb96ce34..a4e9619d95 100644 --- a/src/language/stats/regression.c +++ b/src/language/stats/regression.c @@ -676,8 +676,7 @@ run_regression (const struct regression *cmd, struct casereader *input) this_cm = gsl_matrix_alloc (n_indep + 1, n_indep + 1); n_data = fill_covariance (this_cm, cov, vars, n_indep, dep_var, all_vars, n_all_vars, means); - models[k] = linreg_alloc (dep_var, (const struct variable **) vars, - n_data, n_indep); + models[k] = linreg_alloc (dep_var, vars, n_data, n_indep); models[k]->depvar = dep_var; for (i = 0; i < n_indep; i++) {