]> git.sesse.net Git - stockfish/commit
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)
commit9f6bcb38c032a18c8b1aec318d5c7255827f9c7b
tree8026c0ff18c88d91cf202012616a8d331d9526dc
parent471d93063a8fc1803a4a34397fe39e2344a05d76
Minor cleanups

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
src/misc.h
src/movepick.cpp
src/position.h