Small tweak

This commit is contained in:
Stan Gerald Moore
2021-05-17 09:52:50 -06:00
parent b0be5ea408
commit 2f91b03c50
2 changed files with 4 additions and 4 deletions

View File

@ -56,8 +56,8 @@ PairTableKokkos<DeviceType>::~PairTableKokkos()
memoryKK->destroy_kokkos(k_eatom,eatom);
memoryKK->destroy_kokkos(k_vatom,vatom);
memory->destroy(setflag);
cutsq = nullptr;
tabindex = nullptr;
memoryKK->destroy_kokkos(d_table->cutsq,cutsq);
memoryKK->destroy_kokkos(d_table->tabindex,tabindex);
}
delete h_table;

View File

@ -170,8 +170,8 @@ PairTableRXKokkos<DeviceType>::~PairTableRXKokkos()
memoryKK->destroy_kokkos(k_eatom,eatom);
memoryKK->destroy_kokkos(k_vatom,vatom);
memory->destroy(setflag);
cutsq = nullptr;
tabindex = nullptr;
memoryKK->destroy_kokkos(d_table->cutsq,cutsq);
memoryKK->destroy_kokkos(d_table->tabindex,tabindex);
}
delete h_table;