From: Marco Costalba Date: Thu, 17 Feb 2011 08:08:27 +0000 (+0100) Subject: Do not special case reductions for MultiPV case X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=5815718177817de90f98513b776bc04376440f0a;hp=6a19f5832a0b0f94c6677c4ec6aafc9e1f511baa 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 --- 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;