From: Marco Costalba Date: Sat, 10 Apr 2010 10:15:16 +0000 (+0100) Subject: Revert last patch X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=e2880f9b8ea6f13cf845339798e738b0500abad8 Revert last patch It fails in test position: 8/7P/8/8/K2b4/p7/1k6/1B6 b - - Not clear why but we revert because it fixes the issue. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index e6ffcb19..3f843641 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1388,9 +1388,7 @@ namespace { { assert(value_to_tt(nullValue, ply) == nullValue); - // 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); + TT.store(posKey, nullValue, VALUE_TYPE_NS_LO, depth, MOVE_NONE); return nullValue; } } else {