From e2880f9b8ea6f13cf845339798e738b0500abad8 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 10 Apr 2010 11:15:16 +0100 Subject: [PATCH] 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 --- src/search.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 { -- 2.39.2