diff --git a/src/search.cpp b/src/search.cpp index ca3a9a461..fe795f5ee 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1873,7 +1873,7 @@ void update_all_stats(const Position& pos, // Updates histories of the move pairs formed by moves // at ply -1, -2, -3, -4, and -6 with current move. void update_continuation_histories(Stack* ss, Piece pc, Square to, int bonus) { - static std::array conthist_bonuses = { + static constexpr std::array conthist_bonuses = { {{1, 1133}, {2, 683}, {3, 312}, {4, 582}, {5, 149}, {6, 474}}}; for (const auto [i, weight] : conthist_bonuses)