]> git.sesse.net Git - stockfish/blobdiff - src/pawns.cpp
Use int8_t instead of int for SquareDistance[]
[stockfish] / src / pawns.cpp
index a9fc92b25b937b51ca429764a3d30660049db143..c581c8e72e90fa7ef4ac64408b1fa56405b1d21b 100644 (file)
@@ -115,7 +115,7 @@ namespace {
         // not attacked more times than defended.
         if (   !(stoppers ^ lever ^ leverPush)
             && popcount(support) >= popcount(lever) - 1
-            && popcount(phalanx)   >= popcount(leverPush))
+            && popcount(phalanx) >= popcount(leverPush))
             e->passedPawns[Us] |= s;
 
         else if (   stoppers == SquareBB[s + Up]