X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=3b04515f5f70889445bd2506449faac2ce599582;hp=5b64ac6163091814e53150544b2add49c93e10b0;hb=7222f47350591190a97508f84131d80046f340ce;hpb=eafb66e1aa1c034c1aa24933f1fb03da2f8f491f diff --git a/src/pawns.cpp b/src/pawns.cpp index 5b64ac61..3b04515f 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -62,8 +62,6 @@ namespace { S(34,68), S(83,166), S(0, 0), S( 0, 0) }; - const Score PawnStructureWeight = S(233, 201); - // Weakness of our pawn shelter in front of the king indexed by [king pawn][rank] const Value ShelterWeakness[2][RANK_NB] = { { V(141), V(0), V(38), V(102), V(128), V(141), V(141) }, @@ -215,9 +213,6 @@ Entry* probe(const Position& pos, Table& entries) { e->value = evaluate_pawns(pos, wPawns, bPawns, e) - evaluate_pawns(pos, bPawns, wPawns, e); - - e->value = apply_weight(e->value, PawnStructureWeight); - return e; }