Skip to content

Commit

Permalink
(4,16) / 8. bench 3484074
Browse files Browse the repository at this point in the history
  • Loading branch information
xoto10 committed Dec 6, 2018
1 parent 7dc13b4 commit fc94b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evaluate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ namespace {
// Assorted bonuses and penalties
constexpr Score BishopPawns = S( 3, 8);
constexpr Score CloseEnemies = S( 7, 0);
constexpr Score Connectivity = S( 1, 3);
constexpr Score Connectivity = S( 4, 16);
constexpr Score CorneredBishop = S( 50, 50);
constexpr Score Hanging = S( 62, 34);
constexpr Score KingProtector = S( 6, 7);
Expand Down Expand Up @@ -605,7 +605,7 @@ namespace {
}

b = pos.pieces(Us) & ~pos.pieces(Us, PAWN) & attackedBy[Us][NON_PAWN];
score += Connectivity * popcount(b);
score += Connectivity * popcount(b) / 8;

if (T)
Trace::add(THREAT, Us, score);
Expand Down

0 comments on commit fc94b9c

Please sign in to comment.