]> git.ipfire.org Git - thirdparty/chrony.git/commit
regress: fix robust regression
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 22 Jun 2017 13:35:37 +0000 (15:35 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 27 Jun 2017 13:29:01 +0000 (15:29 +0200)
commite118b9b1e8782274bb37164920db03086fc1dfcb
treebe5b44aba1b22b6b58a64334aac83a5534ee344e
parent7fb7f95979de6ab90557478e89fa74e9fc15fce3
regress: fix robust regression

The bisection always terminated after one iteration. Change the code to
check if the middle is different from the lower and upper limits as
suggested in the original recipe.

This fixes commit b14689d59b06ec21a9e079c65a0882b7bf457448.
regress.c