X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=e6ffcb19f42cf73abcbb082f7a4789442ba36a06;hp=3f8436415358e04840d4f54736446ae82efa7874;hb=909e3adede210a124ed9ec4a2f21d73fda61c26d;hpb=626b1f8c6adc6c6b1bd7dc30109cd7fa5f3c44d8 diff --git a/src/search.cpp b/src/search.cpp index 3f843641..e6ffcb19 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1388,7 +1388,9 @@ namespace { { assert(value_to_tt(nullValue, ply) == nullValue); - TT.store(posKey, nullValue, VALUE_TYPE_NS_LO, depth, MOVE_NONE); + // Special flag null values that are not zugzwang checked + ValueType vt = (depth < 6 * OnePly ? VALUE_TYPE_NS_LO : VALUE_TYPE_LOWER); + TT.store(posKey, nullValue, vt, depth, MOVE_NONE); return nullValue; } } else {