From: Jason Stover Date: Sat, 22 Apr 2006 13:50:40 +0000 (+0000) Subject: removed uneccessary cast to pspp_linreg_cache X-Git-Tag: v0.6.0~961 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17a93d686c5a26be3477b08f878cac491b6f6e17;p=pspp-builds.git removed uneccessary cast to pspp_linreg_cache --- diff --git a/src/math/linreg/ChangeLog b/src/math/linreg/ChangeLog index 4743b08e..10c23462 100644 --- a/src/math/linreg/ChangeLog +++ b/src/math/linreg/ChangeLog @@ -1,3 +1,8 @@ +2006-04-22 Jason Stover + + * predict.c (pspp_linreg_residual): Removed unnecessary cast of c_ + to pspp_linreg_cache. + 2006-04-18 Jason Stover * linreg.h: Added a pointer to a variable to store the resduals. diff --git a/src/math/linreg/predict.c b/src/math/linreg/predict.c index 34e709c8..6ac7167c 100644 --- a/src/math/linreg/predict.c +++ b/src/math/linreg/predict.c @@ -87,9 +87,8 @@ double pspp_linreg_residual (const struct variable **predictors, const union value **vals, const union value *obs, - const void *c_, int n_vals) + const void *c, int n_vals) { - const pspp_linreg_cache *c = c_; double pred; double result;