1
0
Fork 0

bench 6339548

pull/3792/head
Michael Chaly 2021-11-14 21:35:00 +03:00
parent 1a5c21dc56
commit 304127125a
1 changed files with 3 additions and 6 deletions

View File

@ -1164,15 +1164,12 @@ moves_loop: // When in check, search starts here
{
Depth r = reduction(improving, depth, moveCount, rangeReduction > 2);
// Decrease reduction if on the PV (~2 Elo)
// Decrease reduction at some PvNodes (~2 Elo)
if ( PvNode
&& bestMoveCount <= 3)
&& bestMoveCount <= 3
&& beta - alpha >= thisThread->rootDelta / 4)
r--;
// Increases reduction for PvNodes that have small window
if (PvNode && beta - alpha < thisThread->rootDelta / 4)
r++;
// Decrease reduction if position is or has been on the PV
// and node is not likely to fail low. (~3 Elo)
if ( ss->ttPv