Merge pull request #3138 from wmbrownIntel/intel_skip_fix

Bug fix for Intel package skip lists with multiple runs.
This commit is contained in:
Axel Kohlmeyer
2022-02-19 05:55:11 -05:00
committed by GitHub

View File

@ -55,7 +55,8 @@ NPairSkipIntel::~NPairSkipIntel() {
void NPairSkipIntel::copy_neighbor_info()
{
NPair::copy_neighbor_info();
if (_full_props) delete []_full_props;
// Only need to set _full_props once; npair object deleted for changes
if (_full_props) return;
_full_props = new int[neighbor->nrequest];
for (int i = 0; i < neighbor->nrequest; i++)
_full_props[i] = neighbor->requests[i]->full;