diff --git a/src/search.c b/src/search.c index 251cc4d2..fe517186 100644 --- a/src/search.c +++ b/src/search.c @@ -551,7 +551,7 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth r += 2 * cutnode; // Depth after reductions, avoiding going straight to quiescence as well as extending - Depth lmrDepth = CLAMP(newDepth - r, 1, newDepth); + Depth lmrDepth = CLAMP(newDepth - r, 1, newDepth + 1); score = -AlphaBeta(thread, ss+1, -alpha-1, -alpha, lmrDepth, true);