X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Fmath%2Flinreg.c;h=baf9cb737e8250b59a8814dac93dc5ca5b768390;hp=8028697c6b7f3410b12927a0fe7ae1d82c5a6b4b;hb=d342031c6d0e00840575fb01ab2ea136e674d600;hpb=8829e1f148c279db0f19b9e3bd746ace07d2d7f1 diff --git a/src/math/linreg.c b/src/math/linreg.c index 8028697c..baf9cb73 100644 --- a/src/math/linreg.c +++ b/src/math/linreg.c @@ -641,7 +641,7 @@ double pspp_linreg_get_indep_variable_mean (pspp_linreg_cache *c, const struct v coef = pspp_linreg_get_coeff (c, v, NULL); return pspp_coeff_get_mean (coef); } - return GSL_NAN; + return 0.0; } void pspp_linreg_set_indep_variable_mean (pspp_linreg_cache *c, const struct variable *v,