mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Relax TT condition for zugzwang verified null values
In this case use a normal VALUE_TYPE_LOWER TT type instead of VALUE_TYPE_NS_LO. This allow us to TT cut-off in a bit more nodes. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
626b1f8c6a
commit
909e3adede
1 changed files with 3 additions and 1 deletions
|
@ -1388,7 +1388,9 @@ namespace {
|
||||||
{
|
{
|
||||||
assert(value_to_tt(nullValue, ply) == nullValue);
|
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;
|
return nullValue;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue