mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Don't overwrite exsisting TT with null search value
Real search is considered of higher quality then null
search one.
This allows to fix the zugzwang issue with a minimal
impact on ELO.
Zugzwang verified on position:
8/7P/8/8/K2b4/p7/1k6/1B6 b - -
After 999 games at 1+0 on my QUAD
Mod vs Orig(94bb196
) +168 =657 -174 -2 ELO
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
abae3c5678
commit
ec0a650dff
1 changed files with 3 additions and 1 deletions
|
@ -1395,7 +1395,9 @@ namespace {
|
|||
{
|
||||
assert(value_to_tt(nullValue, ply) == nullValue);
|
||||
|
||||
if (!tte)
|
||||
TT.store(posKey, nullValue, VALUE_TYPE_NS_LO, depth, MOVE_NONE);
|
||||
|
||||
return nullValue;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue