mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43: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:
parent
6a19f5832a
commit
5815718177
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue