From: Stefano80 Date: Mon, 6 Feb 2017 00:02:02 +0000 (-0800) Subject: Simplify scale factor computation X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5205d44f878fc93be5cb634a920545bc2f4dd370;hp=5205d44f878fc93be5cb634a920545bc2f4dd370;p=stockfish Simplify scale factor computation Minor non-functional simplifications in computing the scale factor. In my opinion, the code is now slightly more readable: - remove one condition which can never be satisfied. - immediately return instead of assigning the sf variable. Tested for non-regression: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 62162 W: 11166 L: 11115 D: 39881 No functional change Closes #992 ---