Merge official-stockfish/master
authorFabian Fichter <ianfab@users.noreply.github.com>
Sun, 18 Jul 2021 11:56:42 +0000 (13:56 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sun, 18 Jul 2021 11:56:42 +0000 (13:56 +0200)
No functional change.

1  2 
src/Makefile
src/nnue/nnue_feature_transformer.h
src/search.cpp

diff --cc src/Makefile
Simple merge
Simple merge
diff --cc src/search.cpp
@@@ -1197,9 -1054,9 +1197,9 @@@ moves_loop: // When in check, search st
        // then that move is singular and should be extended. To verify this we do
        // a reduced search on all the other moves but the ttMove and if the
        // result is lower than ttValue minus a margin, then we will extend the ttMove.
-       if (    depth >= 7 - 2 * (pos.count<KING>() == 1)
+       if (   !rootNode
 -          &&  depth >= 7
++          &&  depth >= 7 - 2 * (pos.count<KING>() == 1)
            &&  move == ttMove
-           && !rootNode
            && !excludedMove // Avoid recursive singular search
         /* &&  ttValue != VALUE_NONE Already implicit in the next condition */
            &&  abs(ttValue) < VALUE_KNOWN_WIN