mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +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
|
// 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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue