Initialize pointers in ASPHERE

This commit is contained in:
Anders Hafreager
2016-11-07 16:15:39 +01:00
parent 77bbf03f0f
commit cd65d44d95

View File

@ -38,7 +38,8 @@ enum{ROTATE,ALL};
/* ---------------------------------------------------------------------- */
ComputeTempAsphere::ComputeTempAsphere(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/asphere command");