From fd3da81ee60ce59ee6eb947455bc2db36e9b0a9c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 30 Aug 2016 07:07:24 -0400 Subject: [PATCH] must not initialize base class members --- src/compute_dihedral_local.cpp | 3 +-- src/compute_improper_local.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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");