Skip to content

Commit

Permalink
bench: 1420562
Browse files Browse the repository at this point in the history
bench: 1420562
  • Loading branch information
FauziAkram authored Jan 19, 2025
1 parent 8e3e22b commit 8fe594a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ Value Search::Worker::search(

// Decrease reduction if position is or has been on the PV (~7 Elo)
if (ss->ttPv)
r -= 1037 + (ttData.value > alpha) * 965 + (ttData.depth >= depth) * 960;
r -= 1037 + (ttData.value > alpha) * 965 + (ttData.depth >= depth) * 960 + 16 * depth;

// Step 14. Pruning at shallow depth (~120 Elo).
// Depth conditions are important for mate finding.
Expand Down Expand Up @@ -1408,7 +1408,7 @@ Value Search::Worker::search(

else if (priorCapture && prevSq != SQ_NONE)
{
// bonus for prior countermoves that caused the fail low
// Bonus for prior countermoves that caused the fail low
Piece capturedPiece = pos.captured_piece();
assert(capturedPiece != NO_PIECE);
thisThread->captureHistory[pos.piece_on(prevSq)][prevSq][type_of(capturedPiece)]
Expand Down

0 comments on commit 8fe594a

Please sign in to comment.