X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=8f9a369ae23d86a9a4d62d046a8f35ea4c9f6013;hp=28fecf87c979cf26312c3c9ced4e277ee93a7129;hb=ac7780bd352bb13c19154a8bfd8aaa409fdc1d9c;hpb=22ffb588e59b63cae82641a9a19cc859f50c64f4 diff --git a/src/search.cpp b/src/search.cpp index 28fecf87..8f9a369a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -700,7 +700,8 @@ moves_loop: // When in check and at SpNode search starts from here && depth >= 8 * ONE_PLY && abs(beta) < VALUE_KNOWN_WIN && ttMove != MOVE_NONE - && ttValue != VALUE_NONE + /* && ttValue != VALUE_NONE Already implicit in the next condition */ + && abs(ttValue) < VALUE_KNOWN_WIN && !excludedMove // Recursive singular search is not allowed && (tte->bound() & BOUND_LOWER) && tte->depth() >= depth - 3 * ONE_PLY;