From f0c778c7a030530634fa637f1b2f9fc543ef82e4 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 11 Oct 2008 20:44:29 -0700 Subject: [PATCH] Make pspp_linreg_with_cov() void, since it doesn't actually return a value. --- src/math/linreg.c | 2 +- src/math/linreg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math/linreg.c b/src/math/linreg.c index f2897e8e..48db78a8 100644 --- a/src/math/linreg.c +++ b/src/math/linreg.c @@ -719,7 +719,7 @@ rearrange_covariance_matrix (const struct design_matrix *cov, pspp_linreg_cache having to alter it. The problem is that this means the caller must set CACHE->N_COEFFS. */ -int +void pspp_linreg_with_cov (const struct design_matrix *full_cov, pspp_linreg_cache * cache) { diff --git a/src/math/linreg.h b/src/math/linreg.h index adb9f16d..bab3205f 100644 --- a/src/math/linreg.h +++ b/src/math/linreg.h @@ -220,5 +220,5 @@ void pspp_linreg_set_indep_variable_mean (pspp_linreg_cache *, const struct vari /* Regression using only the covariance matrix. */ -int pspp_linreg_with_cov (const struct design_matrix *, pspp_linreg_cache *); +void pspp_linreg_with_cov (const struct design_matrix *, pspp_linreg_cache *); #endif -- 2.30.2