From cc493c2e304e62600e2b8188602b67e7fd12cb4b Mon Sep 17 00:00:00 2001 From: Muzhen Gaming <61100393+XInTheDark@users.noreply.github.com> Date: Sun, 10 Mar 2024 21:27:41 +0800 Subject: [PATCH] format Bench: 1741218 --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 56367a60469..75a747d999a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -767,8 +767,7 @@ Value Search::Worker::search( && eval - futility_margin(depth, cutNode && !ss->ttHit, improving, opponentWorsening) - (ss - 1)->statScore / 287 >= beta - && eval >= beta && eval < VALUE_TB_WIN_IN_MAX_PLY - && (!ttMove || ttCapture)) + && eval >= beta && eval < VALUE_TB_WIN_IN_MAX_PLY && (!ttMove || ttCapture)) return beta > VALUE_TB_LOSS_IN_MAX_PLY ? (eval + beta) / 2 : eval; // Step 9. Null move search with verification search (~35 Elo)