mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Revert "Adjust return bonus from tt cutoffs at fail highs"
This reverts commit 783dfc2eb2
.
could lead to a division by zero for:
ttValue = (ttValue * tte->depth() + beta) / (tte->depth() + 1)
as other threads can overwrite the tte with a QS depth of -1.
closes https://github.com/official-stockfish/Stockfish/pull/5338
Bench: 1280020
This commit is contained in:
parent
c17d73c554
commit
8aaae0367c
1 changed files with 0 additions and 5 deletions
|
@ -640,12 +640,7 @@ Value Search::Worker::search(
|
|||
// Partial workaround for the graph history interaction problem
|
||||
// For high rule50 counts don't produce transposition table cutoffs.
|
||||
if (pos.rule50_count() < 90)
|
||||
{
|
||||
if (ttValue >= beta && std::abs(ttValue) < VALUE_TB_WIN_IN_MAX_PLY
|
||||
&& std::abs(beta) < VALUE_TB_WIN_IN_MAX_PLY)
|
||||
ttValue = (ttValue * tte->depth() + beta) / (tte->depth() + 1);
|
||||
return ttValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Step 5. Tablebases probe
|
||||
|
|
Loading…
Add table
Reference in a new issue