must not initialize base class members

This commit is contained in:
Axel Kohlmeyer
2016-08-30 07:07:24 -04:00
parent ae31f9f4ed
commit fd3da81ee6
2 changed files with 2 additions and 4 deletions

View File

@ -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");