From: bmc4 Date: Mon, 18 Jan 2021 20:03:43 +0000 (-0300) Subject: Clean Up Castling in gives_check X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=befbcffb4e4c5d2ebfb9504b059a337ae4a60ece;hp=befbcffb4e4c5d2ebfb9504b059a337ae4a60ece Clean Up Castling in gives_check There is no need to add rto or kto on the Bitboard which represents the pieces. STC: LLR: 2.93 (-2.94,2.94) {-1.25,0.25} Total: 57064 W: 5096 L: 5067 D: 46901 Ptnml(0-2): 202, 3862, 20355, 3931, 182 https://tests.stockfishchess.org/tests/view/6005ea2c6019e097de3efa55 LTC: LLR: 2.92 (-2.94,2.94) {-0.75,0.25} Total: 30088 W: 1094 L: 1052 D: 27942 Ptnml(0-2): 10, 882, 13217, 926, 9 https://tests.stockfishchess.org/tests/view/6006115a6019e097de3efa6e closes https://github.com/official-stockfish/Stockfish/pull/3311 No functional change. ---