Unverified Commit 7863dfa1 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by GitHub
Browse files

Merge pull request #2033 from stanmoore1/kk_stencil

Fix bug in Kokkos occasional neighlist build
parents 8f9323a3 a4b3af7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ void NPairKokkos<DeviceType,HALF_NEIGH,GHOST,TRI,SIZE>::copy_stencil_info()
  NPair::copy_stencil_info();
  nstencil = ns->nstencil;

  if (neighbor->last_setup_bins == update->ntimestep) {
  if (ns->last_stencil == update->ntimestep) {
    // copy stencil to device as it may have changed

    int maxstencil = ns->get_maxstencil();