Skip to content

Commit

Permalink
Extend checks more when below alpha
Browse files Browse the repository at this point in the history
Passed both short TC:
LLR: 2.97 (-2.94,2.94) [-1.50,4.50]
Total: 8739 W: 1830 L: 1698 D: 5211

And long TC:
LLR: 2.96 (-2.94,2.94) [0.00,6.00]
Total: 6716 W: 1238 L: 1101 D: 4377

bench: 4554576
  • Loading branch information
mcostalba committed Sep 11, 2013
1 parent 738c559 commit 4803d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ namespace {
ext = ONE_PLY;

else if (givesCheck && pos.see_sign(move) >= 0)
ext = inCheck || ss->staticEval < VALUE_ZERO ? ONE_PLY : ONE_PLY / 2;
ext = inCheck || ss->staticEval <= alpha ? ONE_PLY : ONE_PLY / 2;

// Singular extension search. If all moves but one fail low on a search of
// (alpha-s, beta-s), and just one fails high on (alpha, beta), then that move
Expand Down

0 comments on commit 4803d57

Please sign in to comment.