Skip to content
Permalink
Browse files

Same, but TBR instead. Bench: 4078711

  • Loading branch information...
31m059 committed Aug 13, 2019
1 parent 0859867 commit 007c9e92dbfa99cb1d2861fe333ac72caa390db3
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/evaluate.cpp
@@ -116,12 +116,12 @@ namespace {
constexpr Score ThreatByMinor[PIECE_TYPE_NB] = {
S(0, 0), S(0, 31), S(39, 42), S(57, 44), S(68, 112), S(62, 120)
};
constexpr Score ThreatByMinorBlockedPawn = S(0, 10);
constexpr Score ThreatByMinorBlockedPawn = S(0, 0);

constexpr Score ThreatByRook[PIECE_TYPE_NB] = {
S(0, 0), S(0, 24), S(38, 71), S(38, 61), S(0, 38), S(51, 38)
};
constexpr Score ThreatByRookBlockedPawn = S(0, 0);
constexpr Score ThreatByRookBlockedPawn = S(0, 10);

// PassedRank[Rank] contains a bonus according to the rank of a passed pawn
constexpr Score PassedRank[RANK_NB] = {

0 comments on commit 007c9e9

Please sign in to comment.
You can’t perform that action at this time.