properly initialize Atom class member and avoid side effects during write data

This commit is contained in:
Axel Kohlmeyer
2022-09-11 22:11:22 -04:00
parent 34714dba29
commit ed0af32fce
3 changed files with 6 additions and 1 deletions

View File

@ -227,6 +227,7 @@ Atom::Atom(LAMMPS *_lmp) : Pointers(_lmp)
// type labels
lmap = nullptr;
types_style = NUMERIC;
// custom atom arrays