]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Increase LMR limit by one ply
[stockfish] / src / search.cpp
index ec2b1c9cee1d09ce1637bd9bed7d8b7a2e65ed0a..3862e27b74a1c4d6123441616cbcefa428a0f201 100644 (file)
@@ -1134,7 +1134,7 @@ split_point_start: // At split points actual search starts from here
           bool doFullDepthSearch = true;
           alpha = SpNode ? sp->alpha : alpha;
 
-          if (    depth >= 3 * ONE_PLY
+          if (    depth > 3 * ONE_PLY
               && !captureOrPromotion
               && !dangerous
               && !move_is_castle(move)
@@ -1372,8 +1372,6 @@ split_point_start: // At split points actual search starts from here
         else
             ss->eval = bestValue = evaluate(pos, evalMargin);
 
-        update_gains(pos, (ss-1)->currentMove, (ss-1)->eval, ss->eval);
-
         // Stand pat. Return immediately if static value is at least beta
         if (bestValue >= beta)
         {