Skip to content

Commit 25cb851

Browse files
joergostermcostalba
authored andcommitted
Score chain pawn also by rank
Use the (rescaled) CandidatePassed[] table that is already rank based. Passed both short TC LLR: 2.95 (-2.94,2.94) [-1.50,4.50] Total: 11048 W: 2272 L: 2135 D: 6641 And long TC LLR: 2.97 (-2.94,2.94) [0.00,6.00] Total: 4116 W: 769 L: 645 D: 2702 bench: 8440524
1 parent 3cddb0c commit 25cb851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pawns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ namespace {
176176
value -= Backward[opposed][f];
177177

178178
if (chain)
179-
value += ChainMember[f];
179+
value += ChainMember[f] + CandidatePassed[relative_rank(Us, s)] / 2;
180180

181181
if (candidate)
182182
{

0 commit comments

Comments
 (0)