]> git.sesse.net Git - stockfish/commit
Simplify some qsearch conditions
authorwindfishballad <windfishballadtcec@gmail.com>
Sun, 23 Jul 2023 00:35:40 +0000 (20:35 -0400)
committerStéphane Nicolet <cassio@free.fr>
Mon, 24 Jul 2023 00:09:44 +0000 (02:09 +0200)
commit78e3d2ad78f1835d627ec40b9228e8b7dbb676ef
tree9364b4ca38465f59c05bc29d569c2da9a948917a
parent4b2979760f3862700c6a0b8d3ab0f6a6e0a638c0
Simplify some qsearch conditions

Use the assert which ensures that beta == alpha+1 at PVNodes
to simplify a little bit the conditions further down in the code.

passed STC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 56160 W: 14370 L: 14173 D: 27617
Ptnml(0-2): 210, 6192, 15076, 6395, 207
https://tests.stockfishchess.org/tests/view/64bc769cdc56e1650abb2e26

closes https://tests.stockfishchess.org/tests/view/64bc769cdc56e1650abb2e26

No functional change
src/search.cpp