X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=e5d18f776f176b04d476852904ca774c401185ce;hb=450b60a303b0c59b0cc5dd22d95b9a983dfc4f96;hp=4a993b017542cd84b6cd159f4a5f64e0feee9dd4;hpb=23ecf3d5c6ffbcfbe45acd2afcf503929474a4db;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 4a993b01..e5d18f77 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1079,8 +1079,7 @@ moves_loop: // When in check, search starts from here /* && ttValue != VALUE_NONE Already implicit in the next condition */ && abs(ttValue) < VALUE_KNOWN_WIN && (tte->bound() & BOUND_LOWER) - && tte->depth() >= depth - 3 - && pos.legal(move)) + && tte->depth() >= depth - 3) { Value singularBeta = ttValue - ((formerPv + 4) * depth) / 2; Depth singularDepth = (depth - 1 + 3 * formerPv) / 2;