Simplify view deallocation code

This commit is contained in:
Stan Moore
2024-09-23 16:14:06 -06:00
parent e95de835c0
commit 7e31a4f482
21 changed files with 89 additions and 89 deletions

View File

@ -753,8 +753,8 @@ void PairPACEKokkos<DeviceType>::compute(int eflag_in, int vflag_in)
// free duplicated memory
if (need_dup) {
dup_f = decltype(dup_f)();
dup_vatom = decltype(dup_vatom)();
dup_f = {};
dup_vatom = {};
}
}