From: Fabian Fichter Date: Sun, 18 Jul 2021 11:56:42 +0000 (+0200) Subject: Merge official-stockfish/master X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=b9e557503a567a257f89e1ed8a0b11d592eb32c8;p=fairystockfish.git Merge official-stockfish/master No functional change. --- b9e557503a567a257f89e1ed8a0b11d592eb32c8 diff --cc src/search.cpp index f61dc9e,f634b2d..05284b1 --- a/src/search.cpp +++ b/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() == 1) + if ( !rootNode - && depth >= 7 ++ && depth >= 7 - 2 * (pos.count() == 1) && move == ttMove - && !rootNode && !excludedMove // Avoid recursive singular search /* && ttValue != VALUE_NONE Already implicit in the next condition */ && abs(ttValue) < VALUE_KNOWN_WIN