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.
This commit is contained in:
Michael Brown
2021-02-19 05:59:25 -08:00
parent 421eb5df0e
commit a40db8ddf1

View File

@ -318,7 +318,6 @@ 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;
_hybrid_nonpair = 0;