Use double braces for std::array init to avoid warning.

Warning triggered at least using clang.
Merge pull request #644 from atgeirr/fix-braces-warning

Use double braces for std::array init to avoid warning.