mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 01:25:07 -05:00
regress: remove unused struct declaration
This commit is contained in:
14
regress.c
14
regress.c
@@ -150,20 +150,6 @@ RGR_GetChi2Coef(int dof)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================== */
|
|
||||||
/* Structure used for holding results of each regression */
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
double variance;
|
|
||||||
double slope_sd;
|
|
||||||
double slope;
|
|
||||||
double offset;
|
|
||||||
double offset_sd;
|
|
||||||
double K2; /* Variance / slope_var */
|
|
||||||
int n; /* Number of points */
|
|
||||||
int dof; /* Number of degrees of freedom */
|
|
||||||
} RegressionResult;
|
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
/* Critical value for number of runs of residuals with same sign.
|
/* Critical value for number of runs of residuals with same sign.
|
||||||
5% critical region for now. */
|
5% critical region for now. */
|
||||||
|
|||||||
Reference in New Issue
Block a user