From 3be04e4671734ce6dab12bda8d5af5351431e3ac Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 18 Dec 2019 01:27:39 -0800 Subject: [PATCH] Bug fix for USER-INTEL package with triclinic neighbor builds. --- src/USER-INTEL/npair_intel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/USER-INTEL/npair_intel.cpp b/src/USER-INTEL/npair_intel.cpp index a82d3f29e5..4256e03b3c 100644 --- a/src/USER-INTEL/npair_intel.cpp +++ b/src/USER-INTEL/npair_intel.cpp @@ -360,7 +360,7 @@ void NPairIntel::bin_newton(const int offload, NeighList *list, if (THREE) ttag[u] = tag[j]; } - if (FULL == 0 || TRI == 1) { + if (FULL == 0 && TRI != 1) { icount = 0; istart = ncount; IP_PRE_edge_align(istart, sizeof(int)); @@ -392,7 +392,7 @@ void NPairIntel::bin_newton(const int offload, NeighList *list, // ---------------------- Loop over i bin int n = 0; - if (FULL == 0 || TRI == 1) { + if (FULL == 0 && TRI != 1) { #if defined(LMP_SIMD_COMPILER) #pragma vector aligned #pragma ivdep