regress: make minimum number of samples for regression public

This commit is contained in:
Miroslav Lichvar 2014-04-10 16:31:48 +02:00
parent 5cb7e6c9c3
commit ae104b5c28
2 changed files with 3 additions and 2 deletions

View file

@ -209,8 +209,6 @@ n_runs_from_residuals(double *resid, int n)
/* Return a boolean indicating whether we had enough points for
regression */
#define MIN_SAMPLES_FOR_REGRESS 3
int
RGR_FindBestRegression
(double *x, /* independent variable */

View file

@ -66,6 +66,9 @@ extern double RGR_GetChi2Coef(int dof);
points */
#define REGRESS_RUNS_RATIO 2
/* Minimum number of samples for regression */
#define MIN_SAMPLES_FOR_REGRESS 3
/* Return a status indicating whether there were enough points to
carry out the regression */