X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=b5b51d2cdc6ddecd295b0d1474b683436bbe1a82;hp=fdfacc10b910f71d0a7a802afd8f0d8d33efda46;hb=eb1a4f11fa18d22543bef9a507d57a5980867965;hpb=c9f9262a499131ed169035f0faa943fed3ece153 diff --git a/src/evaluate.cpp b/src/evaluate.cpp index fdfacc10..b5b51d2c 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -268,7 +268,6 @@ namespace { namespace Eval { Color RootColor; - Value ValueDrawContempt; /// evaluate() is the main evaluation function. It always computes two /// values, an endgame score and a middle game score, and interpolates @@ -308,8 +307,6 @@ namespace Eval { KingDangerTable[1][i] = apply_weight(make_score(t, 0), Weights[KingDangerUs]); KingDangerTable[0][i] = apply_weight(make_score(t, 0), Weights[KingDangerThem]); } - - ValueDrawContempt = VALUE_DRAW - Options["Contempt Factor"] * PawnValueMg / 100; }