Revert last patch
authorMarco Costalba <mcostalba@gmail.com>
Sat, 10 Apr 2010 10:15:16 +0000 (11:15 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 10 Apr 2010 10:16:55 +0000 (11:16 +0100)
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 <mcostalba@gmail.com>
src/search.cpp

index e6ffcb19f42cf73abcbb082f7a4789442ba36a06..3f8436415358e04840d4f54736446ae82efa7874 100644 (file)
@@ -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 {