forked from lijiext/lammps
Add missing return value in pair_snap_kokkos
This commit is contained in:
parent
7a78875911
commit
72b479d42e
|
@ -282,6 +282,8 @@ double PairSNAPKokkos<DeviceType>::init_one(int i, int j)
|
|||
double cutone = PairSNAP::init_one(i,j);
|
||||
k_cutsq.h_view(i,j) = k_cutsq.h_view(j,i) = cutone*cutone;
|
||||
k_cutsq.template modify<LMPHostType>();
|
||||
|
||||
return cutone;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue