]> git.sesse.net Git - stockfish/commit
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)
commit82ff04b992a53c757519a6ff61576ebd267c0cee
treec65d59a2e2f17c5c6c4d21f129e5443b70c81b8b
parent7c5f5fbadabb9c163443cfe05e6a522495607fef
Remove skipQuiets with mate fix. (#2021)

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
src/search.cpp