Merge official-stockfish/master
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 17 Jul 2021 19:44:32 +0000 (21:44 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 17 Jul 2021 19:44:32 +0000 (21:44 +0200)
bench: 4858668

1  2 
src/search.cpp

diff --cc src/search.cpp
@@@ -1267,13 -1120,9 +1267,10 @@@ moves_loop: // When in check, search st
        // cases where we extend a son if it has good chances to be "interesting".
        if (    depth >= 3
            &&  moveCount > 1 + 2 * rootNode
 +          && !(pos.must_capture() && pos.has_capture())
            && (  !captureOrPromotion
-               || moveCountPruning
-               || 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)
+               || (!PvNode && !formerPv))
            && (!PvNode || ss->ply > 1 || thisThread->id() % 4 != 3))
        {
            Depth r = reduction(improving, depth, moveCount);