Skip to content

Commit 1cbba8d

Browse files
DU-jdtozamar
authored andcommitted
Small passed pawn simplification
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
1 parent e9e5f72 commit 1cbba8d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/evaluate.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,9 +614,6 @@ namespace {
614614
mbonus += rr + r * 2, ebonus += rr + r * 2;
615615
} // rr != 0
616616

617-
if (pos.count<PAWN>(Us) < pos.count<PAWN>(Them))
618-
ebonus += ebonus / 4;
619-
620617
score += make_score(mbonus, ebonus) + PassedFile[file_of(s)];
621618
}
622619

0 commit comments

Comments
 (0)