Fixed initialization of arrays in computes
This commit is contained in:
committed by
Axel Kohlmeyer
parent
5e811f16e8
commit
7d43f349e6
@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user