From aa157e53c3ca25edf101473f46f7fb62b9cfad1b Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 7 May 2021 19:10:36 -0400 Subject: [PATCH] make consistent with the rest of LAMMPS --- src/irregular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irregular.cpp b/src/irregular.cpp index 072209af09..77a4405e88 100644 --- a/src/irregular.cpp +++ b/src/irregular.cpp @@ -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();