]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Bring back just bishop pins
[stockfish] / src / search.cpp
index e7fbbcf3dcb3566fc794870fd5b8e05b9fcf5d21..cfc157367720144b868ac00b6de41fa0946afed8 100644 (file)
@@ -835,7 +835,7 @@ split_point_start: // At split points actual search starts from here
           ss->excludedMove = MOVE_NONE;
 
           if (value < rBeta)
-              ext = rBeta >= beta ? ONE_PLY + ONE_PLY / 2 : ONE_PLY;
+              ext = ONE_PLY;
       }
 
       // Update current move (this must be done after singular extension search)
@@ -1343,7 +1343,6 @@ split_point_start: // At split points actual search starts from here
     Bitboard b = (enemies ^ ksq) & newAtt & ~oldAtt;
     while (b)
     {
-        // Note that here we generate illegal "double move"!
         if (futilityBase + PieceValue[EG][pos.piece_on(pop_lsb(&b))] >= beta)
             return true;
     }