]> git.sesse.net Git - stockfish/commitdiff
Minor cleanups
authormstembera <MissingEmail@email>
Thu, 31 Mar 2022 01:14:27 +0000 (18:14 -0700)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 1 Apr 2022 08:55:11 +0000 (10:55 +0200)
simplify and relocate to position.cpp some of the recent threat calculations used in the movepicker.

passed STC:
https://tests.stockfishchess.org/tests/view/62468c301f682ea45ce3b3b9
LLR: 2.96 (-2.94,2.94) <-2.25,0.25>
Total: 76544 W: 20247 L: 20152 D: 36145
Ptnml(0-2): 327, 8113, 21317, 8168, 347

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

No functional change


No differences found