From 62b8c64ee81c35c33762052a7338d04b50ea6b47 Mon Sep 17 00:00:00 2001 From: PGG106 Date: Sun, 13 Aug 2023 19:30:53 +0200 Subject: [PATCH] Bench: 11581833 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index dea22256..50dd52b7 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -629,7 +629,7 @@ int Negamax(int alpha, int beta, int depth, bool cutnode, S_ThreadData* td, Sear uint64_t nodes_before_search = info->nodes; bool do_full_search = false; // conditions to consider LMR - if (moves_searched >= 3 + 2 * pv_node && depth >= 3) { + if (moves_searched >= 2 + 2 * pv_node && depth >= 3) { int depth_reduction = 1; if (isQuiet || !ttpv) { // calculate by how much we should reduce the search depth