mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
Tweak the cutnode depth condition for TT cutoffs
Passed STC: https://tests.stockfishchess.org/tests/view/67ab396ab5c93ee812d851f3 LLR: 2.96 (-2.94,2.94) <0.00,2.00> Total: 83648 W: 21964 L: 21571 D: 40113 Ptnml(0-2): 339, 9779, 21217, 10128, 361 Passed LTC: https://tests.stockfishchess.org/tests/view/67ab9647133d55b1d3bc171e LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 68160 W: 17551 L: 17166 D: 33443 Ptnml(0-2): 62, 7353, 18870, 7728, 67 closes https://github.com/official-stockfish/Stockfish/pull/5876 Bench: 3087275
This commit is contained in:
+1
-1
@@ -672,7 +672,7 @@ Value Search::Worker::search(
|
|||||||
if (!PvNode && !excludedMove && ttData.depth > depth - (ttData.value <= beta)
|
if (!PvNode && !excludedMove && ttData.depth > depth - (ttData.value <= beta)
|
||||||
&& is_valid(ttData.value) // Can happen when !ttHit or when access race in probe()
|
&& is_valid(ttData.value) // Can happen when !ttHit or when access race in probe()
|
||||||
&& (ttData.bound & (ttData.value >= beta ? BOUND_LOWER : BOUND_UPPER))
|
&& (ttData.bound & (ttData.value >= beta ? BOUND_LOWER : BOUND_UPPER))
|
||||||
&& (cutNode == (ttData.value >= beta) || depth > 9))
|
&& (cutNode == (ttData.value >= beta) || (depth > 9 || (rootDepth > 10 && depth > 5))))
|
||||||
{
|
{
|
||||||
// If ttMove is quiet, update move sorting heuristics on TT hit
|
// If ttMove is quiet, update move sorting heuristics on TT hit
|
||||||
if (ttData.move && ttData.value >= beta)
|
if (ttData.move && ttData.value >= beta)
|
||||||
|
|||||||
Reference in New Issue
Block a user