From 5815718177817de90f98513b776bc04376440f0a Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Thu, 17 Feb 2011 09:08:27 +0100 Subject: [PATCH] Do not special case reductions for MultiPV case Note that this introduces an asymmetry in which best move is searched deeper then others also in MultiPV, but this is not an error per se. No functional change when MultiPV = 1 Signed-off-by: Marco Costalba --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index c1cbc9ef..b0d359d1 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1153,8 +1153,7 @@ split_point_start: // At split points actual search starts from here && ss->killers[0] != move && ss->killers[1] != move) { - ss->reduction = Root ? reduction(depth, moveCount - MultiPV + 1) - : reduction(depth, moveCount); + ss->reduction = reduction(depth, moveCount); if (ss->reduction) { alpha = SpNode ? sp->alpha : alpha; -- 2.39.2