]> git.sesse.net Git - stockfish/commit
Simplify usage of optimism in complexity
authorMichael Chaly <Vizvezdenec@gmail.com>
Fri, 3 Feb 2023 07:52:14 +0000 (10:52 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 3 Feb 2023 19:10:08 +0000 (20:10 +0100)
commit1cdc0f78bd937637128ad10f5168cdb80390f6fb
tree7949f8c466a944fe930dbebb5114034ed4e16bae
parent5a30b087c3a3c4435e680e6c61082d5432fa0ace
Simplify usage of optimism in complexity

This patch removes one condition in optimism usage in complexity, now negative optimism also impacts it.

Passed STC:
https://tests.stockfishchess.org/tests/view/63d34f43721fe2bff692fb12
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 204920 W: 54343 L: 54309 D: 96268
Ptnml(0-2): 598, 22648, 55897, 22756, 561

Passed LTC:
https://tests.stockfishchess.org/tests/view/63d612a2a67dd929a556075c
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 200712 W: 53207 L: 53172 D: 94333
Ptnml(0-2): 58, 19664, 60901, 19651, 82

closes https://github.com/official-stockfish/Stockfish/pull/4377

bench 4204964
src/evaluate.cpp