From a8cae8a0bb9d5849349bd2f96b3b44fd8797c5f3 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sun, 5 Nov 2023 13:52:20 +0300 Subject: [PATCH] bench: 1110556 bench: 1110556 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 27f0f987085..2efb0eb7d2b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1142,7 +1142,7 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo // Decrease reduction for first generated move (ttMove) else if (move == ttMove) - r--; + r = 0; ss->statScore = 2 * thisThread->mainHistory[us][from_to(move)] + (*contHist[0])[movedPiece][to_sq(move)]