X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpsqt.cpp;h=e0f15c0636042b49da4268577203fc0d8b02e384;hp=cbdce81a26ed4da3c9b03f4cba5ed93f5c7325d9;hb=aef7076c344881954b4f586bd4779594d0b29037;hpb=96362fe3df141eeead4bdb863d2bb2d891886abf 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) },