forked from lijiext/lammps
Use reference to improve performance in pair_reaxc_kokkos
This commit is contained in:
parent
aa4f044709
commit
4517c85c77
|
@ -1229,7 +1229,7 @@ void PairReaxCKokkos<DeviceType>::operator()(PairReaxComputeTabulatedLJCoulomb<N
|
|||
|
||||
const int tmin = MIN( itype, jtype );
|
||||
const int tmax = MAX( itype, jtype );
|
||||
const LR_lookup_table_kk<DeviceType> t = d_LR(tmin,tmax);
|
||||
const LR_lookup_table_kk<DeviceType>& t = d_LR(tmin,tmax);
|
||||
|
||||
|
||||
/* Cubic Spline Interpolation */
|
||||
|
|
Loading…
Reference in New Issue