X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=5542fc87366a0923a5f2122ad91144c0def70a1f;hb=33a858eaa1f792b3413384a3d0993dba36aca92e;hp=1d84102303989cce47a9e3ea2615ec623d8fd159;hpb=fbbd4adc3c01460faa3cc8f91771ab9b0ef718ca;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 1d841023..5542fc87 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1130,6 +1130,8 @@ moves_loop: // When in check, search starts from here { extension = 1; singularQuietLMR = !ttCapture; + if (!PvNode && value < singularBeta - 140) + extension = 2; } // Multi-cut pruning @@ -1185,7 +1187,8 @@ moves_loop: // When in check, search starts from here || ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha || cutNode || (!PvNode && !formerPv && captureHistory[movedPiece][to_sq(move)][type_of(pos.captured_piece())] < 3678) - || thisThread->ttHitAverage < 432 * TtHitAverageResolution * TtHitAverageWindow / 1024)) + || thisThread->ttHitAverage < 432 * TtHitAverageResolution * TtHitAverageWindow / 1024) + && (!PvNode || ss->ply > 1 || thisThread->id() % 4 != 3)) { Depth r = reduction(improving, depth, moveCount);