From: Ben Pfaff Date: Sun, 12 Oct 2008 03:44:29 +0000 (-0700) Subject: Make pspp_linreg_with_cov() void, since it doesn't actually return a value. X-Git-Tag: v0.7.1~50^2~24 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c778c7a030530634fa637f1b2f9fc543ef82e4;p=pspp-builds.git Make pspp_linreg_with_cov() void, since it doesn't actually return a value. --- 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