mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 09:35:06 -05:00
Fix updating of best_single_sample
This commit is contained in:
@@ -425,9 +425,10 @@ SST_DoNewRegression(SST_Stats inst)
|
|||||||
#endif
|
#endif
|
||||||
inst->estimated_frequency = 0.0;
|
inst->estimated_frequency = 0.0;
|
||||||
inst->skew = WORST_CASE_FREQ_BOUND;
|
inst->skew = WORST_CASE_FREQ_BOUND;
|
||||||
|
best_start = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
find_best_sample_index(inst, times_back);
|
find_best_sample_index(inst, times_back + best_start);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user