From: Marco Costalba Date: Sun, 9 Jun 2013 09:52:39 +0000 (+0200) Subject: Use alpha instead of beta-1 X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=55eb7dd1e9be4c4d7957b501d423127934bf2bc0;ds=inline Use alpha instead of beta-1 It is more directly related to a fail-low. No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index 12684455..00c871fd 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -716,7 +716,7 @@ namespace { && (ss-1)->reduction && threatMove != MOVE_NONE && allows(pos, (ss-1)->currentMove, threatMove)) - return beta - 1; + return alpha; } }