From fbf0149245a2e49ac7d6aabb1de6a2dd61548edd Mon Sep 17 00:00:00 2001 From: Daniel Monroe Date: Sun, 17 Nov 2024 20:46:30 -0800 Subject: [PATCH] simplify statscore at captures bench 1266033 --- src/search.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 94b20c85be2..7b65c200325 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1182,9 +1182,7 @@ Value Search::Worker::search( r -= 1879; if (capture) - ss->statScore = - thisThread->captureHistory[movedPiece][move.to_sq()][type_of(pos.captured_piece())] - - 13000; + ss->statScore = 0; else ss->statScore = 2 * thisThread->mainHistory[us][move.from_to()] + (*contHist[0])[movedPiece][move.to_sq()]