From 5ef95df41700c358ba8d5e61b07d34eeb93c3cd4 Mon Sep 17 00:00:00 2001 From: Roman Tarasov Date: Wed, 23 Sep 2026 21:19:53 +0300 Subject: [PATCH] Honor zero and exact stability wait thresholds --- src/sm_stability.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sm_stability.c b/src/sm_stability.c index 2e681a2..27cb72a 100644 --- a/src/sm_stability.c +++ b/src/sm_stability.c @@ -31,7 +31,7 @@ bool is_path_stable_now(const char *path, double *root_diff_out, *root_diff_out = root_diff; if (root_diff < 0.0) return true; - return root_diff > (double)runtime_config().stability_wait_seconds; + return root_diff >= (double)runtime_config().stability_wait_seconds; } bool wait_for_stability_fast(const char *path, const char *name) {