From 425142ba2e73dc4088d5d83e47bd6f2a4028721d Mon Sep 17 00:00:00 2001 From: Anders Hafreager Date: Thu, 25 Aug 2016 15:27:44 +0200 Subject: [PATCH] Fixed initialization of arrays in fixes --- src/fix_temp_csld.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fix_temp_csld.cpp b/src/fix_temp_csld.cpp index e89f26ec69..f24314ac80 100644 --- a/src/fix_temp_csld.cpp +++ b/src/fix_temp_csld.cpp @@ -41,7 +41,8 @@ enum{CONSTANT,EQUAL}; /* ---------------------------------------------------------------------- */ FixTempCSLD::FixTempCSLD(LAMMPS *lmp, int narg, char **arg) : - Fix(lmp, narg, arg) + Fix(lmp, narg, arg), + vhold(NULL), tstr(NULL), id_temp(NULL), random(NULL) { if (narg != 7) error->all(FLERR,"Illegal fix temp/csld command");