must initialize ngrow in the constructor

This commit is contained in:
Axel Kohlmeyer
2020-06-23 11:02:57 -04:00
parent a766b6a901
commit 5d1d406e01

View File

@ -38,6 +38,7 @@ using namespace MathConst;
AtomVec::AtomVec(LAMMPS *lmp) : Pointers(lmp)
{
nmax = 0;
ngrow = 0;
molecular = 0;
bonds_allow = angles_allow = dihedrals_allow = impropers_allow = 0;