1
0
Fork 0

changing constant to two

pull/3717/head
OfekShochat 2021-09-24 10:06:01 +03:00
parent 19e18c609b
commit 2e9ba2c4b5
1 changed files with 2 additions and 2 deletions

View File

@ -1006,7 +1006,7 @@ moves_loop: // When in check, search starts here
moveCountPruning = moveCount >= futility_move_count(improving, depth);
// Reduced depth of the next LMR search
int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount, b > 1), 0);
int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount, b > 2), 0);
if ( captureOrPromotion
|| givesCheck)
@ -1141,7 +1141,7 @@ moves_loop: // When in check, search starts here
|| !ss->ttPv)
&& (!PvNode || ss->ply > 1 || thisThread->id() % 4 != 3))
{
Depth r = reduction(improving, depth, moveCount, b > 1);
Depth r = reduction(improving, depth, moveCount, b > 2);
if (PvNode)
r--;