changing constant to two
parent
19e18c609b
commit
2e9ba2c4b5
|
@ -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--;
|
||||
|
|
Loading…
Reference in New Issue