X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=d9cfe409191a1b28dbf67b851fc8bdaf5cacb946;hp=0bd99f9b0e6d9058f9f9e49b6efd21cced6416a6;hb=13a73f67c018e58b2fd46f886c45ef2b75188c8e;hpb=500b9b0eb3b20ef58ff1280a089ab2ef1e3c6436 diff --git a/src/pawns.cpp b/src/pawns.cpp index 0bd99f9b..d9cfe409 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -252,8 +252,9 @@ Value Entry::shelter_storm(const Position& pos, Square ksq) { } -/// Entry::update_safety() calculates and caches a bonus for king safety. It is -/// called only when king square changes, about 20% of total king_safety() calls. +/// Entry::update_safety() calculates and caches a bonus for king safety. +/// It is called only when king square changes, which is about 20% of total +/// king_safety() calls. template Score Entry::update_safety(const Position& pos, Square ksq) {