From: protonspring Date: Sat, 8 Dec 2018 17:08:59 +0000 (-0700) Subject: Simplify KBNK endgame implementation X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b54bcfddaa2a5f6c5d4d5b54243a682a098f49a3;hp=b54bcfddaa2a5f6c5d4d5b54243a682a098f49a3;p=stockfish Simplify KBNK endgame implementation We do not need to change the winnerKSq variable, so we can simplify a little bit the logic of the code by changing only the loserKSq variable when it is necessary. Also consolidate and clarify comments. See the pull request thread for a proof that the code is correct: https://github.com/official-stockfish/Stockfish/pull/1854 No functional change ---