]> git.sesse.net Git - stockfish/commitdiff
Remove skipQuiets with mate fix. (#2021)
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 27 Feb 2019 12:36:48 +0000 (13:36 +0100)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Wed, 27 Feb 2019 12:36:48 +0000 (13:36 +0100)
This removes the skipQuiets variable, as was done in an earlier round by
@protonspring, but fixes an oversight which led to wrong mate
announcements. Quiets can only be pruned when there is no mate score, so
set moveCountPruning at the right spot.

tested as a fix at STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 66321 W: 14690 L: 14657 D: 36974
http://tests.stockfishchess.org/tests/view/5c74f3170ebc5925cffd4b3c

and as the full patch at LTC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 25903 W: 4341 L: 4228 D: 17334
http://tests.stockfishchess.org/tests/view/5c7540030ebc5925cffd506f

Bench: 3292342


No differences found