Skip to content

Commit

Permalink
Combo. Bench: 3083399
Browse files Browse the repository at this point in the history
  • Loading branch information
31m059 committed Jan 10, 2019
1 parent d2acdac commit 45d0f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/evaluate.cpp
Expand Up @@ -472,7 +472,7 @@ namespace {
- 873 * !pos.count<QUEEN>(Them)
- 6 * mg_value(score) / 8
+ mg_value(mobility[Them] - mobility[Us])
- 30;
- 50;

// Transform the kingDanger units into a Score, and subtract it from the evaluation
if (kingDanger > 0)
Expand Down
2 changes: 1 addition & 1 deletion src/pawns.cpp
Expand Up @@ -161,7 +161,7 @@ void init() {
for (int support = 0; support <= 2; ++support)
for (Rank r = RANK_2; r < RANK_8; ++r)
{
int v = 17 * support;
int v = (16 + r) * support;
v += (Seed[r] + (phalanx ? (Seed[r + 1] - Seed[r]) / 2 : 0)) >> opposed;

Connected[opposed][phalanx][support][r] = make_score(v, v * (r - 2) / 4);
Expand Down

0 comments on commit 45d0f77

Please sign in to comment.