]> git.sesse.net Git - stockfish/commitdiff
Improve signature of evaluate_shelter()
authorprotonspring <mike@whiteley.org>
Sat, 24 Aug 2019 06:16:20 +0000 (08:16 +0200)
committerStéphane Nicolet <stephanenicoletsuriphone@gmail.com>
Sat, 24 Aug 2019 06:21:30 +0000 (08:21 +0200)
Remove one parameter in function evaluate_shelter(), making all
comparisons for castled/uncastled shelter locally in do_king_safety().
Also introduce BlockedStorm penalty.

Passed non-regression test at STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 65864 W: 14630 L: 14596 D: 36638
http://tests.stockfishchess.org/tests/view/5d5fc80c0ebc5939d09f0acc

No functional change


No differences found