]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove redundant condition in probcut
[stockfish] / src / search.cpp
index bfab6a4e1cd2829408f1e0d849f3962ab9fd77db..de6c2542d27805a25069290134107ba91583b282 100644 (file)
@@ -726,7 +726,6 @@ namespace {
         &&  depth >= 5 * ONE_PLY
         && !inCheck
         && !ss->skipNullMove
-        &&  excludedMove == MOVE_NONE
         &&  abs(beta) < VALUE_MATE_IN_MAX_PLY)
     {
         Value rbeta = beta + 200;
@@ -949,7 +948,7 @@ split_point_start: // At split points actual search starts from here
       {
           ss->reduction = reduction<PvNode>(depth, moveCount);
 
-          if (!PvNode && cutNode && (ss-1)->reduction)
+          if (!PvNode && cutNode)
               ss->reduction += ONE_PLY;
 
           if (move == countermoves[0] || move == countermoves[1])