mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 02:27:00 +08:00
Don't modify Eval with search stats at ttHits
STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 28344 W: 6148 L: 6040 D: 16156 http://tests.stockfishchess.org/tests/view/5b7d6b4e0ebc5902bdbb1914 LTC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 41084 W: 6769 L: 6680 D: 27635 http://tests.stockfishchess.org/tests/view/5b7d7f5b0ebc5902bdbb1b85 Bench: 4457440
This commit is contained in:
committed by
Stéphane Nicolet
parent
28543cddc6
commit
3ac3b68540
@@ -713,7 +713,7 @@ namespace {
|
||||
{
|
||||
// Never assume anything on values stored in TT
|
||||
if ((ss->staticEval = pureStaticEval = eval = tte->eval()) == VALUE_NONE)
|
||||
eval = ss->staticEval = (pureStaticEval = evaluate(pos)) - 10 * ((ss-1)->statScore > 0);
|
||||
eval = ss->staticEval = pureStaticEval = evaluate(pos);
|
||||
|
||||
// Can ttValue be used as a better position evaluation?
|
||||
if ( ttValue != VALUE_NONE
|
||||
|
||||
Reference in New Issue
Block a user