Skip to content

Commit

Permalink
Irreversible moves help winning. Bench: 4094170
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano80 committed Sep 7, 2018
1 parent c3d71fe commit 33ca971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -1042,7 +1042,7 @@ namespace {
r += ONE_PLY;

// Decrease/increase reduction for moves with a good/bad history (~30 Elo)
r -= (ss->statScore - 16 * bestValue * thisThread->irreversibleMoves ) / 20000 * ONE_PLY;
r -= (ss->statScore + 16 * bestValue * thisThread->irreversibleMoves ) / 20000 * ONE_PLY;
}

Depth d = std::max(newDepth - std::max(r, DEPTH_ZERO), ONE_PLY);
Expand Down

0 comments on commit 33ca971

Please sign in to comment.