diff --git a/src/pawns.cpp b/src/pawns.cpp index 6072745b..7eb584d2 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -114,7 +114,7 @@ namespace { // which could become passed after one or two pawn pushes when are // not attacked more times than defended. if ( !(stoppers ^ lever ^ leverPush) - && popcount(support) >= popcount(lever) - 1 + && (support || !more_than_one(lever)) && popcount(phalanx) >= popcount(leverPush)) e->passedPawns[Us] |= s;