Skip to content

Commit

Permalink
tweek.
Browse files Browse the repository at this point in the history
bench 3241812
  • Loading branch information
Vizvezdenec committed Jan 8, 2019
1 parent af5774f commit 8e6c869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ namespace {
| (double_pawn_attacks_bb<Us>(pos.pieces(Us, PAWN)) & ~double_pawn_attacks_bb<Them>(pos.pieces(Them, PAWN)));

// Bonus for safe pawn threats on the next move
b = pawn_attacks_bb<Us>(b) & pos.pieces(Them);
b = pawn_attacks_bb<Us>(b) & nonPawnEnemies;
score += ThreatByPawnPush * popcount(b);

// Our safe or protected pawns
Expand Down

0 comments on commit 8e6c869

Please sign in to comment.