mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Don't compensate TT for evaluation drift
It seems that it works better without compensation of drifted value when saving static evaluation in TT. After 818 games at 1+0 Mod vs Orig +217 =429 -172 52.75% 431.5/818 +19 ELO Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
77ac1e7953
commit
7c55b0e880
1 changed files with 1 additions and 1 deletions
|
@ -1556,7 +1556,7 @@ namespace {
|
||||||
{
|
{
|
||||||
// Store the score to avoid a future costly evaluation() call
|
// Store the score to avoid a future costly evaluation() call
|
||||||
if (!isCheck && !tte && ei.futilityMargin == 0)
|
if (!isCheck && !tte && ei.futilityMargin == 0)
|
||||||
TT.store(pos.get_key(), bestValue - ply, VALUE_TYPE_EVAL, Depth(-127*OnePly), MOVE_NONE);
|
TT.store(pos.get_key(), value_to_tt(bestValue, ply), VALUE_TYPE_EVAL, Depth(-127*OnePly), MOVE_NONE);
|
||||||
|
|
||||||
return bestValue;
|
return bestValue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue