]> git.sesse.net Git - stockfish/commitdiff
Reduce Position::pieces() overloads
authormstembera <MissingEmail@email>
Wed, 5 Apr 2023 02:44:09 +0000 (19:44 -0700)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 10 Apr 2023 08:51:45 +0000 (10:51 +0200)
Reduce the number of overloads for pieces() by using a more general template implementation.
Secondly simplify some code in search.cpp using the new general functionality.

TC https://tests.stockfishchess.org/tests/view/642ce27877ff3301150dc193
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 269640 W: 71775 L: 71809 D: 126056
Ptnml(0-2): 687, 27294, 78885, 27274, 680

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

No functional change.


No differences found