X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=1303e1fb08f7c587ea02b192fca7d8ec32c7e90c;hb=4bef7aa5cd682617502cacfa4413c0d2c78401ca;hp=1f6a129039b1d3e4dce57add99b74f63e70aed60;hpb=767c4ad1fc487b72240006c888aaf8c00006cd82;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 1f6a1290..1303e1fb 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -766,7 +766,7 @@ namespace { assert(eval - beta >= 0); // Null move dynamic reduction based on depth and value - Depth R = ((823 + 67 * depth / ONE_PLY) / 256 + std::min((eval - beta) / PawnValueMg, 3)) * ONE_PLY; + Depth R = ((823 + 67 * depth / ONE_PLY) / 256 + std::min(int(eval - beta) / 200, 3)) * ONE_PLY; ss->currentMove = MOVE_NULL; ss->continuationHistory = &thisThread->continuationHistory[NO_PIECE][0];