Fixed initialization of arrays in fixes

This commit is contained in:
Anders Hafreager 2016-08-25 15:27:44 +02:00 committed by Axel Kohlmeyer
parent 07eb1d443b
commit 425142ba2e
1 changed files with 2 additions and 1 deletions

View File

@ -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");