Stockfish, chess engine UCILeader rating list JCER = 3331🔬 Author: Marco CostalbaMore:Timestamp: 1502776918 Fix incorrect StateInfo We use Position::set() to set root position across threads. But there are some StateInfo fields (previous, pliesFromNull, capturedPiece) that cannot be deduced from a fen string, so set() clears them and to not lose the info we need to backup and later restore setupStates->back(). Note that setupStates is shared by threads but is accessed in read-only mode. This fixes regression introduced by df6cb446eaf21 Tested with 3 threads at STC: LLR: 2.95 (-2.94,2.94) [-4.00,0.00] Total: 14436 W: 2304 L: 2196 D: 9936 Bench: 5608839 ⭐⭐⭐ Stockfish 17081508 - download

Stockfish, chess engine UCILeader rating list JCER = 3331🔬 Author: Marco CostalbaMore:Timestamp: 1502628381 Run clang-tidy 'modernize' Some warnings after a run of: $ clang-tidy-3.8 -checks='modernize-*' *.cpp syzygy/*.cpp -header-filter=.* -- -std=c++11 I have not fixed all suggestions, for instance I still prefer to declare the type instead of a spread use of 'auto'. I also perfer good old 'typedef' to the new 'using' form. I have not fixed some warnings in the last functions of syzygy code because those are still the original functions and need to be completely rewritten anyhow. Thanks to erbsenzaehler for the original idea. No functional change. ⭐⭐⭐ Stockfish 17081314 - download

Stockfish, chess engine UCILeader rating list JCER = 3331🔬 Author: tthsqe12More:Timestamp: 1502531231 Fix the handling of opposite bishops in KXK endgame evaluation The case of three or more bishops against a long king must look at all of the bishops and not just the first two in the piece lists. This patch makes sure that the position is treated as a win when there are bishops on opposite colors. This functional change is very small because bench remains the same. LLR: 2.95 (-2.94,2.94) [-4.00,0.00] Total: 24249 W: 4349 L: 4275 D: 15625