Small cleanups 13

No functional change
This commit is contained in:
Stéphane Nicolet
2020-11-12 14:05:28 +01:00
parent f9595828eb
commit 027626db1e
7 changed files with 13 additions and 14 deletions

View File

@@ -176,8 +176,8 @@ namespace {
score -= Doubled * doubled
+ WeakLever * more_than_one(lever);
if (blocked && r > RANK_4)
score += BlockedPawn[r-4];
if (blocked && r >= RANK_5)
score += BlockedPawn[r - RANK_5];
}
return score;