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