X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flinreg%2Flinreg.h;h=dbdc23c02fb6efbb15cb47c2d0c78d2aed8f1c37;hb=793b1e4345762d98ecc0ffbf6ace0b901c0b52b5;hp=67a422ea3fcaed0ab7497606b7f0920929de9496;hpb=e08ba3a0b4be7ebf4f049fa4ead1f0f1508bd7f8;p=pspp diff --git a/src/math/linreg/linreg.h b/src/math/linreg/linreg.h index 67a422ea3f..dbdc23c02f 100644 --- a/src/math/linreg/linreg.h +++ b/src/math/linreg/linreg.h @@ -42,8 +42,6 @@ enum */ struct pspp_linreg_opts_struct { - int resid; /* Should the residuals be returned? */ - int get_depvar_mean_std; int *get_indep_mean_std; /* Array of booleans dictating which @@ -165,6 +163,7 @@ struct pspp_linreg_cache_struct const union value **, const union value *, const void *, int); + struct variable *resid; }; typedef struct pspp_linreg_cache_struct pspp_linreg_cache; @@ -178,7 +177,7 @@ typedef struct pspp_linreg_cache_struct pspp_linreg_cache; */ pspp_linreg_cache *pspp_linreg_cache_alloc (size_t n, size_t p); -bool pspp_linreg_cache_free (pspp_linreg_cache * c); +bool pspp_linreg_cache_free (void *); /* Fit the linear model via least squares. All pointers passed to pspp_linreg