From: VoyagerOne Date: Mon, 12 Jul 2021 18:44:29 +0000 (-0400) Subject: Don't save excluded move eval in TT X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=36f8d3806bb1c6e498ac8fd1a746c1714d1485a3 Don't save excluded move eval in TT STC: LLR: 2.93 (-2.94,2.94) <-0.50,2.50> Total: 17544 W: 1384 L: 1236 D: 14924 Ptnml(0-2): 37, 1031, 6499, 1157, 48 https://tests.stockfishchess.org/tests/view/60ec8d9bd1189bed71812999 LTC: LLR: 2.95 (-2.94,2.94) <0.50,3.50> Total: 26136 W: 823 L: 707 D: 24606 Ptnml(0-2): 6, 643, 11656, 755, 8 https://tests.stockfishchess.org/tests/view/60ecb11ed1189bed718129ba closes https://github.com/official-stockfish/Stockfish/pull/3614 Bench: 5505251 --- diff --git a/src/search.cpp b/src/search.cpp index 3cf50eb5..fef1b518 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -760,6 +760,7 @@ namespace { ss->staticEval = eval = -(ss-1)->staticEval; // Save static evaluation into transposition table + if(!excludedMove) tte->save(posKey, VALUE_NONE, ss->ttPv, BOUND_NONE, DEPTH_NONE, MOVE_NONE, eval); }