X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=0e57f01fffc089c2b00dc60b776800467f7c93f0;hp=cee744134f4f779031f73bd65aa20547367ce545;hb=b48439e90643cb6f65f9e34d1421976883c12efc;hpb=6b9a22b40d37d27ad10cafd8697d96e90a586f8a diff --git a/src/pawns.cpp b/src/pawns.cpp index cee74413..0e57f01f 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -32,10 +32,10 @@ namespace { #define S(mg, eg) make_score(mg, eg) // Isolated pawn penalty by opposed flag - const Score Isolated[2] = { S(45, 40), S(30, 27) }; + const Score Isolated[] = { S(45, 40), S(30, 27) }; // Backward pawn penalty by opposed flag - const Score Backward[2] = { S(56, 33), S(41, 19) }; + const Score Backward[] = { S(56, 33), S(41, 19) }; // Unsupported pawn penalty for pawns which are neither isolated or backward const Score Unsupported = S(17, 8);