Fix issue in Kokkos neigh list when using half-from-full
This commit is contained in:
@ -36,7 +36,7 @@ void NeighListKokkos<Device>::grow(int nmax)
|
||||
{
|
||||
// skip if this list is already long enough to store nmax atoms
|
||||
|
||||
if (nmax <= maxatoms) return;
|
||||
if (nmax <= maxatoms && d_neighbors.extent(1) >= maxneighs) return;
|
||||
maxatoms = nmax;
|
||||
|
||||
k_ilist =
|
||||
|
||||
Reference in New Issue
Block a user