Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
protonspring committed Mar 7, 2019
1 parent 0bb9300 commit f72f21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -770,7 +770,7 @@ namespace {
assert(eval - beta >= 0);

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

ss->currentMove = MOVE_NULL;
ss->continuationHistory = &thisThread->continuationHistory[NO_PIECE][0];
Expand Down

0 comments on commit f72f21d

Please sign in to comment.