X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=24fde88fc0ef5c1087cb43bdfd41a87d81c35f7f;hp=acd042c0a8ceb99a5f0fdaca232778c19a722718;hb=e8baf2b772ba8b5eacccd2a64f33faa3b0efa7a8;hpb=43efd7fad77eb6a84305b0e2b25e62a6f1ce5fed diff --git a/src/search.cpp b/src/search.cpp index acd042c0..24fde88f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -700,6 +700,7 @@ 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 && !excludedMove // Recursive singular search is not allowed && (tte->bound() & BOUND_LOWER) && tte->depth() >= depth - 3 * ONE_PLY; @@ -766,8 +767,6 @@ moves_loop: // When in check and at SpNode search starts from here && !ext && pos.legal(move, ci.pinned)) { - assert(ttValue != VALUE_NONE); - Value rBeta = ttValue - int(depth); ss->excludedMove = move; ss->skipNullMove = true;