X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c6db82ba18026f36a5121f89e97a4a27e4ed134e;hp=60a002a908842da0221b0cb42db7df686b24cd8e;hb=4262461457d2227fa788ee9b238651d7ae498339;hpb=51deae899814bbbfd9db5686b824f23105ca8a39 diff --git a/src/search.cpp b/src/search.cpp index 60a002a9..c6db82ba 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1172,7 +1172,7 @@ moves_loop: // When in check, search starts from here || moveCountPruning || ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha || cutNode - || (!PvNode && !formerPv) + || (!PvNode && !formerPv && thisThread->captureHistory[movedPiece][to_sq(move)][type_of(pos.captured_piece())] < 4506) || thisThread->ttHitAverage < 432 * TtHitAverageResolution * TtHitAverageWindow / 1024)) { Depth r = reduction(improving, depth, moveCount);