X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=97218baa19f9627cb27ce59948c255e18cef0b81;hp=e6938e189f4312f3eaff82f68c2645f9c0701533;hb=30a905c95d0b77874244c8b68ae77daba41ac545;hpb=05aa34e00ed78adfa943242026a00dc497acd563 diff --git a/src/evaluate.cpp b/src/evaluate.cpp index e6938e18..97218baa 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -421,7 +421,7 @@ namespace { // which are attacked twice in that flank but not defended by our pawns. kingFlank = KingFlank[file_of(ksq)]; b1 = attackedBy[Them][ALL_PIECES] & kingFlank & Camp; - b2 = b1 & attackedBy2[Them] & ~attackedBy[Us][PAWN]; + b2 = b1 & attackedBy2[Them]; int tropism = popcount(b1) + popcount(b2);