X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=49d7c5c9b9db9b628f548d7539748919c626dea5;hb=df2f7e75276cc93a8cb8c70057903ab0edbd92bd;hp=fa73dce5da074fbef87529c630aa5b3cf65cc75a;hpb=c25d4c4887dbc23395afef59e24a520c5d12ab52;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index fa73dce5..49d7c5c9 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1173,6 +1173,10 @@ moves_loop: // When in check, search starts here if (PvNode && !ss->inCheck && abs(ss->staticEval - bestValue) > 250) r--; + // Increase depth based reduction if PvNode + if (PvNode) + r -= 15 / ( 3 + depth ); + ss->statScore = thisThread->mainHistory[us][from_to(move)] + (*contHist[0])[movedPiece][to_sq(move)] + (*contHist[1])[movedPiece][to_sq(move)]