mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 13:05:08 -05:00
When the smoothing process is updated with extremely small (e.g. sub-nanosecond) values, both directions may give a negative length of the 1st or 3rd stage due to numerical errors and the selection will fail an in assertion. Rework the code to select the direction which gives a smaller error.
8.8 KiB
8.8 KiB