mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Use a flag in TT to track null search values
Add VALUE_TYPE_NS_LO to enum ValueType and use it when saving in TT a value from a null search. Currently no action is performed, the next patch will enable the new type. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1388,7 +1388,7 @@ namespace {
|
||||
{
|
||||
assert(value_to_tt(nullValue, ply) == nullValue);
|
||||
|
||||
TT.store(posKey, nullValue, VALUE_TYPE_LOWER, depth, MOVE_NONE);
|
||||
TT.store(posKey, nullValue, VALUE_TYPE_NS_LO, depth, MOVE_NONE);
|
||||
return nullValue;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user