From 78a8e997fc7e585251b7ef9e0d19b715a914bdc9 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 26 Jun 2013 18:37:30 +0200 Subject: [PATCH] linreg.c: Remove superfluous cast --- src/language/stats/regression.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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++) { -- 2.30.2