From 5fa88b0ed629cbd116980508ec1982724f5dd618 Mon Sep 17 00:00:00 2001 From: Gahtan Nahdi <155860115+gahtan-syarif@users.noreply.github.com> Date: Thu, 22 Feb 2024 04:37:26 +0700 Subject: [PATCH] Update search.cpp --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 55a92947d32..18cae494629 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1061,7 +1061,7 @@ Value Search::Worker::search( // If the ttMove is assumed to fail high over current beta (~7 Elo) else if (ttValue >= beta) - extension = -2 - !PvNode; + extension = -3; // If we are on a cutNode but the ttMove is not assumed to fail high over current beta (~1 Elo) else if (cutNode)