diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 489422fc..84a37dfc 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -703,10 +703,9 @@ namespace { // ...count safe + (behind & safe) with a single popcount int bonus = popcount((Us == WHITE ? safe << 32 : safe >> 32) | (behind & safe)); - int weight = pos.count(Us) + pos.count(Us) - + pos.count(Them) + pos.count(Them); + int weight = pos.count(Us); - return make_score(bonus * weight * weight * 2 / 11, 0); + return make_score(bonus * weight * weight / 22, 0); }