fix segfault in atom map hash when using "clear".

This commit is contained in:
Axel Kohlmeyer
2019-10-17 09:29:21 -04:00
parent 09c15ee630
commit 595aa7dff3
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ Atom::Atom(LAMMPS *lmp) : Pointers(lmp)
tag_enable = 1;
map_style = map_user = 0;
map_tag_max = -1;
map_maxarray = map_nhash = -1;
map_maxarray = map_nhash = map_nbucket = -1;
max_same = 0;
sametag = NULL;