X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=6128b45fcad597e7c2ddad68f2ca4b55364f622d;hp=97218baa19f9627cb27ce59948c255e18cef0b81;hb=68209c9121b54760f03e5f00d6698bca190706ed;hpb=30a905c95d0b77874244c8b68ae77daba41ac545 diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 97218baa..6128b45f 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -415,7 +415,7 @@ namespace { Bitboard kingFlank, weak, b, b1, b2, safe, unsafeChecks; // King shelter and enemy pawns storm - Score score = pe->king_safety(pos, ksq); + Score score = pe->king_safety(pos); // Find the squares that opponent attacks in our king flank, and the squares // which are attacked twice in that flank but not defended by our pawns.