X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=4ea4ac76fe7704719b3c0fcfc9ca6136ef1a6468;hp=261bb47905bf68c51f027b8b11d3385540e32a97;hb=489357d7b221179a0fc116df706df5e937f991fa;hpb=8141bdd179da8f36c04f99d51812b19bbd1a8efd diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 261bb479..4ea4ac76 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -133,11 +133,11 @@ namespace { // which piece type attacks which one. Attacks on lesser pieces which are // pawn-defended are not considered. constexpr Score ThreatByMinor[PIECE_TYPE_NB] = { - S(0, 0), S(0, 31), S(39, 42), S(57, 44), S(68, 112), S(47, 120) + S(0, 0), S(0, 31), S(39, 42), S(57, 44), S(68, 112), S(62, 120) }; constexpr Score ThreatByRook[PIECE_TYPE_NB] = { - S(0, 0), S(0, 24), S(38, 71), S(38, 61), S(0, 38), S(36, 38) + S(0, 0), S(0, 24), S(38, 71), S(38, 61), S(0, 38), S(51, 38) }; // PassedRank[Rank] contains a bonus according to the rank of a passed pawn