Skip to content
Snippets Groups Projects
Commit d7d087ae authored by Stan Moore's avatar Stan Moore
Browse files

Fix issue with peratom energy/virial in pair_snap_kokkos

parent 92e2df74
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,10 @@ PairSNAPKokkos<DeviceType>::PairSNAPKokkos(LAMMPS *lmp) : PairSNAP(lmp) ...@@ -66,7 +66,10 @@ PairSNAPKokkos<DeviceType>::PairSNAPKokkos(LAMMPS *lmp) : PairSNAP(lmp)
template<class DeviceType> template<class DeviceType>
PairSNAPKokkos<DeviceType>::~PairSNAPKokkos() PairSNAPKokkos<DeviceType>::~PairSNAPKokkos()
{ {
//if (copymode) return; if (copymode) return;
memoryKK->destroy_kokkos(k_eatom,eatom);
memoryKK->destroy_kokkos(k_vatom,vatom);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment