Skip to content

Commit 16782af

Browse files
authored
Fix compilation with GCC 5.4.0 (#117)
This was spotted here: https://travis-ci.org/MRChemSoft/mrchem/jobs/653411396#L559
1 parent f0f8835 commit 16782af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/XCFunctional.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct XCFunctional {
3131
int depends{0}; // XC_DENSITY, gradient etc
3232
xcfun_mode mode{XC_MODE_UNSET};
3333
xcfun_vars vars{XC_VARS_UNSET};
34-
std::array<functional_data *, XC_NR_FUNCTIONALS> active_functionals{nullptr};
34+
std::array<functional_data *, XC_NR_FUNCTIONALS> active_functionals{{nullptr}};
3535
std::array<double, XC_NR_PARAMETERS_AND_FUNCTIONALS> settings;
3636
};
3737

0 commit comments

Comments
 (0)