need to explicitly run pair_init_check() inside kspace_init_check() for hybrid styles

This commit is contained in:
Axel Kohlmeyer 2020-01-03 01:40:20 -05:00
parent 2f6018b099
commit a63792a07a
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 0 deletions

View File

@ -529,6 +529,7 @@ void FixIntel::kspace_init_check()
intel_pair = 1;
else if (force->pair_match("^hybrid", 0) != NULL) {
_hybrid_nonpair = 1;
pair_init_check(); // need to run this here explicitly, since pair->init() was not run yet.
if (_pair_intel_count) intel_pair = 1;
}