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:
parent
dd5a3ae4a6
commit
3c085775d7
1 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue