From: H.G.Muller Date: Sat, 17 Feb 2018 18:29:29 +0000 (+0100) Subject: Remove spurious setting of alpha X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=15b5213550e1b52684da930e8a0f446f6dfa4911;p=crazywa.git Remove spurious setting of alpha Alpha is reset at the end of the iteration, and setting it to startAlpha at the beginning destroys the stand-pat contribution in QS. --- diff --git a/dropper.c b/dropper.c index b46c031..0535836 100644 --- a/dropper.c +++ b/dropper.c @@ -1263,7 +1263,6 @@ Search (int stm, int alpha, int beta, StackFrame *ff, int depth, int reduction, int curMove, highDepth; iterDepth++; highDepth = (iterDepth > depth ? iterDepth : depth) - 1; // reply depth for high-failing moves - alpha = startAlpha; pvPtr = pvStart; *pvPtr++ = 0; // empty PV bestScore = upperScore = startScore; bestNr = 0; // kludge: points to 0 entry in moveStack resultDepth = MAXPLY;