diff --git a/src/compute_dihedral_local.cpp b/src/compute_dihedral_local.cpp index f50f49fa11..d8fc1b792c 100644 --- a/src/compute_dihedral_local.cpp +++ b/src/compute_dihedral_local.cpp @@ -34,8 +34,7 @@ using namespace MathConst; /* ---------------------------------------------------------------------- */ ComputeDihedralLocal::ComputeDihedralLocal(LAMMPS *lmp, int narg, char **arg) : - Compute(lmp, narg, arg), - vector(NULL), array(NULL) + Compute(lmp, narg, arg) { if (narg < 4) error->all(FLERR,"Illegal compute dihedral/local command"); diff --git a/src/compute_improper_local.cpp b/src/compute_improper_local.cpp index b9d69dc5b8..05a0cb4291 100644 --- a/src/compute_improper_local.cpp +++ b/src/compute_improper_local.cpp @@ -35,8 +35,7 @@ using namespace MathConst; /* ---------------------------------------------------------------------- */ ComputeImproperLocal::ComputeImproperLocal(LAMMPS *lmp, int narg, char **arg) : - Compute(lmp, narg, arg), - vector(NULL), array(NULL) + Compute(lmp, narg, arg) { if (narg < 4) error->all(FLERR,"Illegal compute improper/local command");