From 33ca971db271a7eab0f9f4a100f68083f4c71a5b Mon Sep 17 00:00:00 2001 From: Stefano Cardanobile Date: Fri, 7 Sep 2018 20:18:01 +0200 Subject: [PATCH] Irreversible moves help winning. Bench: 4094170 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 86a6b19a408..2d7a4b76e41 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1042,7 +1042,7 @@ namespace { r += ONE_PLY; // Decrease/increase reduction for moves with a good/bad history (~30 Elo) - r -= (ss->statScore - 16 * bestValue * thisThread->irreversibleMoves ) / 20000 * ONE_PLY; + r -= (ss->statScore + 16 * bestValue * thisThread->irreversibleMoves ) / 20000 * ONE_PLY; } Depth d = std::max(newDepth - std::max(r, DEPTH_ZERO), ONE_PLY);