Assorted trivial cleanups (#1894)

To address https://github.com/official-stockfish/Stockfish/issues/1862

No functional change.
This commit is contained in:
Marco Costalba
2019-01-01 14:10:26 +01:00
committed by GitHub
parent 79c97625a4
commit eb6d7f537d
10 changed files with 63 additions and 60 deletions

View 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]