From 9a68ff613733d0a5447cfd81db99f6ea19c2cba2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 29 Jul 2017 17:18:51 -0700 Subject: [PATCH] linreg: Comment out unused function to avoid compiler warning. --- src/math/linreg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/math/linreg.c b/src/math/linreg.c index b5ccbc5999..d1e0dae980 100644 --- a/src/math/linreg.c +++ b/src/math/linreg.c @@ -322,6 +322,7 @@ linreg_set_indep_variable_mean (struct linreg *c, size_t j, double m) gsl_vector_set (c->indep_means, j, m); } +#if 0 static void linreg_fit_qr (const gsl_matrix *cov, struct linreg *l) { @@ -415,6 +416,7 @@ linreg_fit_qr (const gsl_matrix *cov, struct linreg *l) gsl_matrix_free (xtx); gsl_vector_free (params); } +#endif #define REG_LARGE_DATA 1000 -- 2.30.2