From a40db8ddf1a468415c372a04e16fc92d87534a0a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 19 Feb 2021 05:59:25 -0800 Subject: [PATCH] Fix for hybrid pair style with certain combinations of USER-INTEL styles. Specifically, fixes issue where memory was not zeroed correctly with a hybrid pair style including an intel variant and a non-intel variant combined with intel variant(s) of non-pair styles. --- src/USER-INTEL/fix_intel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/USER-INTEL/fix_intel.cpp b/src/USER-INTEL/fix_intel.cpp index 31bd63160f..6c7e108ca6 100644 --- a/src/USER-INTEL/fix_intel.cpp +++ b/src/USER-INTEL/fix_intel.cpp @@ -318,8 +318,7 @@ void FixIntel::init() _zero_master = 0; if (_pair_hybrid_flag && _hybrid_nonpair) - if (_pair_hybrid_flag > 1 || force->newton_pair == 0) - _pair_hybrid_zero = 1; + _pair_hybrid_zero = 1; _hybrid_nonpair = 0; _pair_intel_count = 0;