From 4517c85c779ca08429ef5a74d7bdf43b98501545 Mon Sep 17 00:00:00 2001 From: Stan Moore <stamoor@sandia.gov> Date: Thu, 5 Apr 2018 11:47:22 -0600 Subject: [PATCH] Use reference to improve performance in pair_reaxc_kokkos --- src/KOKKOS/pair_reaxc_kokkos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KOKKOS/pair_reaxc_kokkos.cpp b/src/KOKKOS/pair_reaxc_kokkos.cpp index 3a4a91ede4..c5106775b4 100644 --- a/src/KOKKOS/pair_reaxc_kokkos.cpp +++ b/src/KOKKOS/pair_reaxc_kokkos.cpp @@ -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 */ -- GitLab