Skip to content

Commit

Permalink
Back to [-2..2]
Browse files Browse the repository at this point in the history
  • Loading branch information
MJZ1977 committed Feb 5, 2019
1 parent 8c810fe commit dcef717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -1032,7 +1032,7 @@ namespace {
Depth r = reduction<PvNode>(improving, depth, moveCount);

// Winning side : concentrate on verifying winning line, losing side : try other lines
r += std::max(std::min(int(alpha / 360), 1), -2) * ONE_PLY;
r += std::max(std::min(int(alpha / 360), 2), -2) * ONE_PLY;

// Decrease reduction if position is or has been on the PV
if (pvHit)
Expand Down

0 comments on commit dcef717

Please sign in to comment.