initialize setflag and cutsq pointers to NULL, so they are not accessed uninitialized by accident

This commit is contained in:
Axel Kohlmeyer
2019-03-22 04:54:06 -04:00
parent 76b9c0049d
commit 1e8ccb1774

View File

@ -72,6 +72,9 @@ Pair::Pair(LAMMPS *lmp) : Pointers(lmp)
single_extra = 0;
svector = NULL;
setflag = NULL;
cutsq = NULL;
ewaldflag = pppmflag = msmflag = dispersionflag = tip4pflag = dipoleflag = 0;
reinitflag = 1;