Because we are never in check there and evaluation cannot
return a mated value the condition is useless.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
// Prune moves with negative or equal SEE
if ( futilityBase < beta
&& depth < DEPTH_ZERO
// Prune moves with negative or equal SEE
if ( futilityBase < beta
&& depth < DEPTH_ZERO
- && bestValue > value_mated_in(PLY_MAX)
&& pos.see(move) <= 0)
continue;
}
&& pos.see(move) <= 0)
continue;
}