From 17a93d686c5a26be3477b08f878cac491b6f6e17 Mon Sep 17 00:00:00 2001 From: Jason Stover Date: Sat, 22 Apr 2006 13:50:40 +0000 Subject: [PATCH] removed uneccessary cast to pspp_linreg_cache --- src/math/linreg/ChangeLog | 5 +++++ src/math/linreg/predict.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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; -- 2.30.2