diff --git a/src/search.cpp b/src/search.cpp index 8decb5d1e..cfd3583bc 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1192,7 +1192,7 @@ moves_loop: // When in check, search starts here // These reduction adjustments have no proven non-linear scaling - r += 316; // Base reduction offset to compensate for other tweaks + r += 650; // Base reduction offset to compensate for other tweaks r -= moveCount * 66; r -= std::abs(correctionValue) / 28047; @@ -1217,12 +1217,11 @@ moves_loop: // When in check, search starts here if (capture) ss->statScore = 826 * int(PieceValue[pos.captured_piece()]) / 128 - + thisThread->captureHistory[movedPiece][move.to_sq()][type_of(pos.captured_piece())] - - 5030; + + thisThread->captureHistory[movedPiece][move.to_sq()][type_of(pos.captured_piece())]; else ss->statScore = 2 * thisThread->mainHistory[us][move.from_to()] + (*contHist[0])[movedPiece][move.to_sq()] - + (*contHist[1])[movedPiece][move.to_sq()] - 3206; + + (*contHist[1])[movedPiece][move.to_sq()]; // Decrease/increase reduction for moves with a good/bad history r -= ss->statScore * 826 / 8192;