]> git.sesse.net Git - stockfish/commitdiff
Simplify qsearch stages in MovePicker
authorprotonspring <mike@whiteley.org>
Sun, 4 Feb 2018 13:57:57 +0000 (14:57 +0100)
committerStéphane Nicolet <cassio@free.fr>
Sun, 4 Feb 2018 13:57:57 +0000 (14:57 +0100)
The difference between QCAPTURES_1 and QCAPTURES_2 quiescence search stages
boils down to a simple check of depth. The way it's being done now is
unnecessarily complex.

This patch is simpler, clearer, and easier to understand.

Passed SPRT[-3..1] test at STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 99755 W: 22158 L: 22192 D: 55405
http://tests.stockfishchess.org/tests/view/5a71f41c0ebc590f2c86e9cb

No functional change.


No differences found