make scope explicit since virtual tables are not set up in constructor

This commit is contained in:
Axel Kohlmeyer
2025-06-24 06:13:13 -04:00
parent d0c460e7f7
commit 63c9987ec8

View File

@ -111,7 +111,7 @@ FixPair::FixPair(LAMMPS *lmp, int narg, char **arg) :
vector = nullptr; vector = nullptr;
array = nullptr; array = nullptr;
grow_arrays(atom->nmax); FixPair::grow_arrays(atom->nmax);
atom->add_callback(Atom::GROW); atom->add_callback(Atom::GROW);
// zero the vector/array since dump may access it on timestep 0 // zero the vector/array since dump may access it on timestep 0