1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00: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:
Marco Costalba 2009-11-10 18:15:22 +01:00
parent dd5a3ae4a6
commit 3c085775d7

View file

@ -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))
{