From 193dea6327fa7d8a2cd770494ef8ebe296bb1587 Mon Sep 17 00:00:00 2001 From: Trung Nguyen Date: Sun, 13 Feb 2022 14:51:00 -0600 Subject: [PATCH] Updated the comment to be precise on the case --- lib/gpu/lal_sw.cu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/gpu/lal_sw.cu b/lib/gpu/lal_sw.cu index 0e4c236f1a..1de6aea920 100644 --- a/lib/gpu/lal_sw.cu +++ b/lib/gpu/lal_sw.cu @@ -666,8 +666,8 @@ __kernel void k_sw_three_end(const __global numtyp4 *restrict x_, numtyp delr2z = kx.z - jx.z; numtyp rsq2 = delr2x*delr2x + delr2y*delr2y + delr2z*delr2z; - // still need this check because this loop apparently iterates - // over neighbors of j that are not intended + // for neigh no within pair hybrid: still need the check below + // this loop apparently iterates over neighbors of j that are not intended const numtyp cutsq_jk=sw_cut_ik*sw_cut_ik; if (!(rsq2>(numtyp)0 && rsq2(numtyp)0 && rsq2