Commit 80c5b01b authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

flag 'allocated' must be initialized in constructor

parent 51e4a568
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ PairMEAM::PairMEAM(LAMMPS *lmp) : Pair(lmp)
  arho1 = arho2 = arho3 = arho3b = t_ave = tsq_ave = NULL;

  maxneigh = 0;
  allocated = 0;
  scrfcn = dscrfcn = fcpair = NULL;

  nelements = 0;