From: Miroslav Lichvar Date: Fri, 30 Jun 2017 07:40:06 +0000 (+0200) Subject: hwclock: decrease tolerance of robust regression to 0.1 ppb X-Git-Tag: 3.2-pre1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=854ff69f782875a340c15213f1bb8c4fc700f717;p=thirdparty%2Fchrony.git hwclock: decrease tolerance of robust regression to 0.1 ppb --- diff --git a/hwclock.c b/hwclock.c index cae62601..b8161277 100644 --- a/hwclock.c +++ b/hwclock.c @@ -161,7 +161,7 @@ HCL_AccumulateSample(HCL_Instance clock, struct timespec *hw_ts, clock->valid_coefs = RGR_FindBestRobustRegression(clock->x_data + MAX_SAMPLES - clock->n_samples, clock->y_data + MAX_SAMPLES - clock->n_samples, - clock->n_samples, 1.0e-9, &clock->offset, &raw_freq, + clock->n_samples, 1.0e-10, &clock->offset, &raw_freq, &n_runs, &best_start); if (!clock->valid_coefs) {