Skip to content
Permalink
Browse files

Bench 3403257

  • Loading branch information...
MJZ1977 committed Apr 15, 2019
1 parent cdca9cf commit 3b75b7a9fed182a07efe07022fab9ddf476f1909
Showing with 8 additions and 10 deletions.
  1. +8 −10 src/search.cpp
@@ -610,14 +610,12 @@ namespace {
// If position has been searched at higher depths and we are shuffling, return value_draw
if (pos.rule50_count() > 36 - 6 * (pos.count<ALL_PIECES>() > 14)
&& ss->ply > 36 - 6 * (pos.count<ALL_PIECES>() > 14)
//&& depth < 3 * ONE_PLY
&& ttHit
&& tte->depth() > depth
&& pos.count<PAWN>() > 0)
{
//sync_cout << "Shuffling : " << pos.fen() << sync_endl;
return VALUE_DRAW;
}
}

// At non-PV nodes we check for an early TT cutoff
if ( !PvNode
@@ -939,13 +937,13 @@ namespace {
// Castling extension
else if (type_of(move) == CASTLING)
extension = ONE_PLY;
// Shuffle extension
else if(pos.rule50_count() > 14
&& ss->ply > 14
&& depth < 3 * ONE_PLY
&& PvNode
&& ss->ply < 3 * thisThread->rootDepth / ONE_PLY) // To avoid infinite loops

// Shuffle extension
else if(pos.rule50_count() > 14
&& ss->ply > 14
&& depth < 3 * ONE_PLY
&& PvNode
&& ss->ply < 3 * thisThread->rootDepth / ONE_PLY) // To avoid infinite loops
extension = ONE_PLY;

// Passed pawn extension

0 comments on commit 3b75b7a

Please sign in to comment.
You can’t perform that action at this time.