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

Add missing return value in pair_snap_kokkos

parent 7a788759
No related branches found
No related tags found
No related merge requests found
...@@ -282,6 +282,8 @@ double PairSNAPKokkos<DeviceType>::init_one(int i, int j) ...@@ -282,6 +282,8 @@ double PairSNAPKokkos<DeviceType>::init_one(int i, int j)
double cutone = PairSNAP::init_one(i,j); double cutone = PairSNAP::init_one(i,j);
k_cutsq.h_view(i,j) = k_cutsq.h_view(j,i) = cutone*cutone; k_cutsq.h_view(i,j) = k_cutsq.h_view(j,i) = cutone*cutone;
k_cutsq.template modify<LMPHostType>(); k_cutsq.template modify<LMPHostType>();
return cutone;
} }
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------
......
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