1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

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 <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2011-02-17 09:08:27 +01:00
parent 6a19f5832a
commit 5815718177

View file

@ -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<PvNode>(depth, moveCount - MultiPV + 1)
: reduction<PvNode>(depth, moveCount);
ss->reduction = reduction<PvNode>(depth, moveCount);
if (ss->reduction)
{
alpha = SpNode ? sp->alpha : alpha;