must not call plain ev_init() from KOKKOS without setting alloc to 0 to avoid memory leak
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user