X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=63bc596fcba4cbb9b280c243af89fccc7fc7bff3;hp=0017b8044d8a1c3878546ed12fa09d836054a63c;hb=d7a2d5a44588676abf9b49e35a5a567fd57ec3b0;hpb=2c5f0efa1350ea19d32c599ddd6b9350f1d216ff diff --git a/src/pawns.cpp b/src/pawns.cpp index 0017b804..63bc596f 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -118,6 +118,7 @@ namespace { // (a) there is no stoppers except some levers // (b) the only stoppers are the leverPush, but we outnumber them // (c) there is only one front stopper which can be levered. + // (Refined in Evaluation::passed) passed = !(stoppers ^ lever) || ( !(stoppers ^ leverPush) && popcount(phalanx) >= popcount(leverPush))