From 6a22f7659dc6d2c9c1167a0c945406944022da80 Mon Sep 17 00:00:00 2001 From: TheRealGioviok <425gioviok@gmail.com> Date: Sat, 27 Jun 2026 20:04:37 +0200 Subject: [PATCH] Bench: 12898941 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index c59085dd..bb0994cf 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -489,7 +489,7 @@ Value Worker::search( } if (!PV_NODE && !is_in_check && depth <= tuned::rfp_depth && !excluded - && tt_adjusted_eval >= beta + tuned::rfp_margin * depth) { + && tt_adjusted_eval >= beta + tuned::rfp_margin * (depth - improving)) { return tt_adjusted_eval; }