1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

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 <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2010-04-10 11:15:16 +01:00
parent 909e3adede
commit e2880f9b8e

View 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 {