From 4afd7f1a7b2379f9094a973676f1f03b2058428b Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sun, 9 Mar 2025 18:35:14 +0300 Subject: [PATCH] Removing contHist[1] from pruning formula Passed STC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 51552 W: 13297 L: 13091 D: 25164 Ptnml(0-2): 166, 6009, 13215, 6225, 161 https://tests.stockfishchess.org/tests/view/67c4de79685e87e15e7c43f5 Passed LTC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 244554 W: 62135 L: 62142 D: 120277 Ptnml(0-2): 137, 26612, 68794, 26589, 145 https://tests.stockfishchess.org/tests/view/67c50982685e87e15e7c443d closes https://github.com/official-stockfish/Stockfish/pull/5928 Bench: 1980385 --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 8bc73b710..bb0156c5d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1679,10 +1679,9 @@ Value Search::Worker::qsearch(Position& pos, Stack* ss, Value alpha, Value beta) // Continuation history based pruning if (!capture && (*contHist[0])[pos.moved_piece(move)][move.to_sq()] - + (*contHist[1])[pos.moved_piece(move)][move.to_sq()] + thisThread->pawnHistory[pawn_structure_index(pos)][pos.moved_piece(move)] [move.to_sq()] - <= 5923) + <= 6290) continue; // Do not search moves with bad enough SEE values