make consistent with the rest of LAMMPS

This commit is contained in:
Axel Kohlmeyer
2021-05-07 19:10:36 -04:00
parent 8b8f06db63
commit aa157e53c3

View File

@ -117,7 +117,7 @@ void Irregular::migrate_atoms(int sortflag, int preassign, int *procassign)
// exchange() doesn't need to clear ghosts b/c borders()
// is called right after and it clears ghosts and calls map_set()
if (map_style) atom->map_clear();
if (map_style != Atom::MAP_NONE) atom->map_clear();
atom->nghost = 0;
atom->avec->clear_bonus();