From 30f82e34d7daf2cabc8bc6c6d6bb2a470f364467 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Tue, 27 Feb 2024 14:22:04 +0300 Subject: [PATCH] bench: 1303971 bench: 1303971 --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 40b67a29495..314a51820f3 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -57,8 +57,7 @@ namespace { // Futility margin Value futility_margin(Depth d, bool noTtCutNode, bool improving) { Value futilityMult = 117 - 44 * noTtCutNode; - return (improving? futilityMult * d - 3 * futilityMult / 2 - :futilityMult * d); + return (futilityMult * d) - ((3 * futilityMult / 2) * improving); } constexpr int futility_move_count(bool improving, Depth depth) {