flag 'allocated' must be initialized in constructor

This commit is contained in:
Axel Kohlmeyer 2016-09-13 14:33:00 -04:00
parent 51e4a568c9
commit 80c5b01bfc
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ PairMEAM::PairMEAM(LAMMPS *lmp) : Pair(lmp)
arho1 = arho2 = arho3 = arho3b = t_ave = tsq_ave = NULL; arho1 = arho2 = arho3 = arho3b = t_ave = tsq_ave = NULL;
maxneigh = 0; maxneigh = 0;
allocated = 0;
scrfcn = dscrfcn = fcpair = NULL; scrfcn = dscrfcn = fcpair = NULL;
nelements = 0; nelements = 0;