From: protonspring Date: Fri, 17 Aug 2018 08:19:32 +0000 (+0200) Subject: Simplify king file dependancy in evaluate_shelter() X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=d0f09de2d24f53ccab09928eb776423c813d6580;hp=d0f09de2d24f53ccab09928eb776423c813d6580 Simplify king file dependancy in evaluate_shelter() Remove the special value we used for the file of the king in the evaluate_shelter() function, and compensate by tweaking some of the ShelterStrength[] array values. STC LLR: 2.94 (-2.94,2.94) [-3.00,1.00] Total: 17069 W: 3782 L: 3652 D: 9635 http://tests.stockfishchess.org/tests/view/5b75eb0d0ebc5902bdba8f3d LTC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 42639 W: 6973 L: 6887 D: 28779 http://tests.stockfishchess.org/tests/view/5b75fd7f0ebc5902bdba906b Closes https://github.com/official-stockfish/Stockfish/pull/1739 Bench: 4639508 ---