Fixed initialization of arrays in computes

This commit is contained in:
Anders Hafreager
2016-08-24 16:24:20 +02:00
committed by Axel Kohlmeyer
parent 3e793d6eb7
commit 1f3ef8e0ee
8 changed files with 17 additions and 24 deletions

View File

@ -24,7 +24,8 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
ComputeImproper::ComputeImproper(LAMMPS *lmp, int narg, char **arg) :
Compute(lmp, narg, arg)
Compute(lmp, narg, arg),
emine(NULL)
{
if (narg != 3) error->all(FLERR,"Illegal compute improper command");