Initialized pointers in BODY

This commit is contained in:
Anders Hafreager
2016-11-07 16:21:08 +01:00
parent 77bbf03f0f
commit 06959a9c59
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ enum{ROTATE,ALL};
/* ---------------------------------------------------------------------- */
ComputeTempBody::ComputeTempBody(LAMMPS *lmp, int narg, char **arg) :
Compute(lmp, narg, arg)
Compute(lmp, narg, arg), id_bias(NULL), tbias(NULL), avec(NULL)
{
if (narg < 3) error->all(FLERR,"Illegal compute temp/body command");