must not call plain ev_init() from KOKKOS without setting alloc to 0 to avoid memory leak

This commit is contained in:
Axel Kohlmeyer
2025-04-05 01:42:18 -04:00
parent c60bff2b97
commit 7c2ca8c8e5
8 changed files with 16 additions and 18 deletions

View File

@ -181,9 +181,9 @@ void KSpace::triclinic_check()
/* ---------------------------------------------------------------------- */
void KSpace::compute_dummy(int eflag, int vflag)
void KSpace::compute_dummy(int eflag, int vflag, int alloc)
{
ev_init(eflag,vflag);
ev_init(eflag,vflag,alloc);
}
/* ----------------------------------------------------------------------