Fixed initialization of arrays in computes

This commit is contained in:
Anders Hafreager
2016-08-24 17:06:58 +02:00
committed by Axel Kohlmeyer
parent 5e811f16e8
commit 7d43f349e6
9 changed files with 19 additions and 23 deletions

View File

@ -25,7 +25,8 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
ComputeVACF::ComputeVACF(LAMMPS *lmp, int narg, char **arg) :
Compute(lmp, narg, arg)
Compute(lmp, narg, arg),
id_fix(NULL)
{
if (narg < 3) error->all(FLERR,"Illegal compute vacf command");