1
0
Fork 0

Simply reset StatScore to zero at beta cutoff

STC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 43154 W: 8706 L: 8625 D: 25823
http://tests.stockfishchess.org/tests/view/5b01a7660ebc5914abc1271d

LTC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 48155 W: 7036 L: 6955 D: 34164
http://tests.stockfishchess.org/tests/view/5b01b2e50ebc5914abc1272c

Closes https://github.com/official-stockfish/Stockfish/pull/1608

Bench: 4484288
pull/1609/head
VoyagerOne 2018-05-22 07:21:57 +02:00 committed by Stéphane Nicolet
parent 335dc2d021
commit 04407e35d6
1 changed files with 1 additions and 1 deletions

View File

@ -1117,7 +1117,7 @@ moves_loop: // When in check, search starts from here
else
{
assert(value >= beta); // Fail high
ss->statScore = std::max(ss->statScore, 0);
ss->statScore = 0;
break;
}
}