make scope explicit since virtual tables are not set up in constructor
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user