Commit 39873fb7 authored by Stan Moore's avatar Stan Moore
Browse files

Fix issue in Kokkos neigh list when using half-from-full

parent a1a77549
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 =