regress: make minimum number of samples for regression public
This commit is contained in:
parent
5cb7e6c9c3
commit
ae104b5c28
2 changed files with 3 additions and 2 deletions
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue