X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flinreg.h;h=39cda89f295806bc46cf9930aac99dddaad94c17;hb=edd5c738dfef01c90d02e06a33b93fc9d38320b8;hp=49e54c13c707ab3ce82570e44834734a5fd3bc52;hpb=14e65c1dacdf2cc41d308cab8d408d8de26fc1c7;p=pspp diff --git a/src/math/linreg.h b/src/math/linreg.h index 49e54c13c7..39cda89f29 100644 --- a/src/math/linreg.h +++ b/src/math/linreg.h @@ -140,6 +140,8 @@ struct linreg_struct int dependent_column; /* Column containing the dependent variable. Defaults to last column. */ int refcnt; + + bool origin; }; typedef struct linreg_struct linreg; @@ -147,7 +149,7 @@ typedef struct linreg_struct linreg; linreg *linreg_alloc (const struct variable *, const struct variable **, - double, size_t); + double, size_t, bool); void linreg_unref (linreg *); void linreg_ref (linreg *);