X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=cdbccb4c0abbc395f27465a33e6675ba133817d6;hp=e825fce7522b8f15bf3535bdebffefc57ecd4133;hb=a88a38c3a91749181ffa5d6dc0af7314a70a1c41;hpb=16adcb5374a6847b52dd901e183d78c0c8c6cf8a diff --git a/src/search.cpp b/src/search.cpp index e825fce7..cdbccb4c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1188,7 +1188,7 @@ moves_loop: // When in check, search starts from here r -= 2; // Increase reduction at root and non-PV nodes when the best move does not change frequently - if ((rootNode || !PvNode) && depth > 10 && thisThread->bestMoveChanges <= 2) + if ((rootNode || !PvNode) && thisThread->rootDepth > 10 && thisThread->bestMoveChanges <= 2) r++; // More reductions for late moves if position was not in previous PV