Skip to content
Permalink
Browse files

Logical, less long. Bench: 3655308

  • Loading branch information...
vondele committed Mar 9, 2019
1 parent 3dc4564 commit 2547c28a6b4de5057f9824419bc02e60d5b9a62b
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/search.cpp
@@ -872,10 +872,10 @@ namespace {
moveCountPruning = false;
ttCapture = ttMove && pos.capture_or_promotion(ttMove);

bool illogicalLine = depth >= 3 * ONE_PLY
&& (ss-1)->moveCount != 1
&& (ss-2)->moveCount != 1
&& (ss-3)->moveCount != 1;
bool logicalLine = depth >= 5 * ONE_PLY
&& (ss-1)->moveCount == 1
&& (ss-2)->moveCount == 1
&& (ss-3)->moveCount == 1;

// Step 12. Loop through all pseudo-legal moves until no moves remain
// or a beta cutoff occurs.
@@ -1022,7 +1022,7 @@ namespace {
if (ttPv)
r -= ONE_PLY;

if (illogicalLine)
if (logicalLine)
r -= ONE_PLY;

// Decrease reduction if opponent's move count is high (~10 Elo)

0 comments on commit 2547c28

Please sign in to comment.
You can’t perform that action at this time.