Skip to content

Commit

Permalink
Tweak NMP Formula
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-shawn authored and PikaCat-OuO committed May 18, 2024
1 parent 74a674a commit 9ae2831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ Value Search::Worker::search(
assert(eval - beta >= 0);

// Null move dynamic reduction based on depth and eval
Depth R = std::min(int(eval - beta) / 122, 5) + depth / 3 + 4;
Depth R = std::min(int(eval - beta) / 122, 5) + depth / 3 + 5;

ss->currentMove = Move::null();
ss->continuationHistory = &thisThread->continuationHistory[0][0][NO_PIECE][0];
Expand Down

0 comments on commit 9ae2831

Please sign in to comment.