diff --git a/src/pawns.cpp b/src/pawns.cpp index 291d40b6858..4e28c98e2f6 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -123,6 +123,11 @@ namespace { e->passedPawns[Us] |= s; } + // Edge Majority + if (((theirPawns & pawn_attack_span(Us, s)) == stoppers) && + (popcount(stoppers) == 1) && (phalanx | support)) + score += make_score (10,0); + // Score this pawn if (support | phalanx) {