Skip to content

Commit

Permalink
Small passed pawn simplification
Browse files Browse the repository at this point in the history
STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 21993 W: 4197 L: 4078 D: 13718

LTC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 67213 W: 9135 L: 9077 D: 49001

Bench: 7482426

Resolves #622
  • Loading branch information
DU-jdto authored and zamar committed Apr 8, 2016
1 parent e9e5f72 commit 1cbba8d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/evaluate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,9 +614,6 @@ namespace {
mbonus += rr + r * 2, ebonus += rr + r * 2;
} // rr != 0

if (pos.count<PAWN>(Us) < pos.count<PAWN>(Them))
ebonus += ebonus / 4;

score += make_score(mbonus, ebonus) + PassedFile[file_of(s)];
}

Expand Down

0 comments on commit 1cbba8d

Please sign in to comment.