diff --git a/src/compute_aggregate_atom.cpp b/src/compute_aggregate_atom.cpp index f92bf02cba..b3daf5f98c 100644 --- a/src/compute_aggregate_atom.cpp +++ b/src/compute_aggregate_atom.cpp @@ -121,7 +121,7 @@ void ComputeAggregateAtom::compute_peratom() // invoke full neighbor list (will copy or build if necessary) - neighbor->build_one(list); + neighbor->build_one(list,1); // if group is dynamic, insure ghost atom masks are current diff --git a/src/compute_cluster_atom.cpp b/src/compute_cluster_atom.cpp index 5ee6368504..d01402d480 100644 --- a/src/compute_cluster_atom.cpp +++ b/src/compute_cluster_atom.cpp @@ -113,7 +113,7 @@ void ComputeClusterAtom::compute_peratom() // invoke full neighbor list (will copy or build if necessary) - neighbor->build_one(list); + neighbor->build_one(list,1); inum = list->inum; ilist = list->ilist;