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