Skip to content

Commit

Permalink
Phalanx tweak
Browse files Browse the repository at this point in the history
bench: 3340066
  • Loading branch information
mstembera authored and mstembera committed Jul 15, 2019
1 parent 7090d25 commit 948930e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pawns.cpp
Expand Up @@ -131,7 +131,7 @@ namespace {
int v = Connected[r] * (phalanx ? 3 : 2) / (opposed ? 2 : 1)
+ 17 * popcount(support);

score += make_score(v, v * (r - 2) / 4);
score += make_score(v + bool(phalanx) * 8, v * (r - 2) / 4);
}

else if (!neighbours)
Expand Down

0 comments on commit 948930e

Please sign in to comment.