mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +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
|
// Futility pruning
|
||||||
if ( useFutilityPruning
|
if ( useFutilityPruning
|
||||||
&& !dangerous
|
&& !dangerous
|
||||||
&& !captureOrPromotion)
|
&& !captureOrPromotion
|
||||||
|
&& move != ttMove)
|
||||||
{
|
{
|
||||||
// History pruning. See ok_to_prune() definition
|
// History pruning. See ok_to_prune() definition
|
||||||
if ( moveCount >= 2 + int(depth)
|
if ( moveCount >= 2 + int(depth)
|
||||||
@@ -1609,6 +1610,7 @@ namespace {
|
|||||||
&& !isCheck
|
&& !isCheck
|
||||||
&& !pvNode
|
&& !pvNode
|
||||||
&& !moveIsCheck
|
&& !moveIsCheck
|
||||||
|
&& move != ttMove
|
||||||
&& !move_is_promotion(move)
|
&& !move_is_promotion(move)
|
||||||
&& !pos.move_is_passed_pawn_push(move))
|
&& !pos.move_is_passed_pawn_push(move))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user