From 15b5213550e1b52684da930e8a0f446f6dfa4911 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sat, 17 Feb 2018 19:29:29 +0100 Subject: [PATCH] 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. --- dropper.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) 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; -- 1.7.0.4