mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Don't futility-prune ttMove
After 933 games Mod vs Orig +219 =505 -208 +4 ELO A small increase as expected. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1398,7 +1398,8 @@ namespace {
|
||||
// Futility pruning
|
||||
if ( useFutilityPruning
|
||||
&& !dangerous
|
||||
&& !captureOrPromotion)
|
||||
&& !captureOrPromotion
|
||||
&& move != ttMove)
|
||||
{
|
||||
// History pruning. See ok_to_prune() definition
|
||||
if ( moveCount >= 2 + int(depth)
|
||||
@@ -1609,6 +1610,7 @@ namespace {
|
||||
&& !isCheck
|
||||
&& !pvNode
|
||||
&& !moveIsCheck
|
||||
&& move != ttMove
|
||||
&& !move_is_promotion(move)
|
||||
&& !pos.move_is_passed_pawn_push(move))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user