From e3f838317fe72e84155a0f7a114c84d6b571650e Mon Sep 17 00:00:00 2001 From: Roberto Di Remigio Date: Sun, 23 Feb 2020 10:38:55 +0100 Subject: [PATCH] Fix compilation with GCC 5.4.0 This was spotted here: https://travis-ci.org/MRChemSoft/mrchem/jobs/653411396#L559 --- src/XCFunctional.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XCFunctional.hpp b/src/XCFunctional.hpp index b4092f16..29721709 100644 --- a/src/XCFunctional.hpp +++ b/src/XCFunctional.hpp @@ -31,7 +31,7 @@ struct XCFunctional { int depends{0}; // XC_DENSITY, gradient etc xcfun_mode mode{XC_MODE_UNSET}; xcfun_vars vars{XC_VARS_UNSET}; - std::array active_functionals{nullptr}; + std::array active_functionals{{nullptr}}; std::array settings; };