X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpsqt.cpp;h=e0f15c0636042b49da4268577203fc0d8b02e384;hp=cbdce81a26ed4da3c9b03f4cba5ed93f5c7325d9;hb=759b3c79cf94d101163f646b1eb2a9f9c64293ab;hpb=350dff446481b9e274e54dc727141f0dbfec0b23 diff --git a/src/psqt.cpp b/src/psqt.cpp index cbdce81a..e0f15c06 100644 --- a/src/psqt.cpp +++ b/src/psqt.cpp @@ -35,7 +35,7 @@ namespace PSQT { // type on a given square a (middlegame, endgame) score pair is assigned. Table // is defined for files A..D and white side: it is symmetric for black side and // second half of the files. -const Score Bonus[][RANK_NB][int(FILE_NB) / 2] = { +constexpr Score Bonus[][RANK_NB][int(FILE_NB) / 2] = { { }, { // Pawn { S( 0, 0), S( 0, 0), S( 0, 0), S( 0, 0) },