Add missing return value in pair_snap_kokkos
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user