Fix issue in fix_qeq_reax_kokkos, can't call child function from base constructor

This commit is contained in:
Stan Moore 2017-12-18 13:57:56 -07:00
parent 193252275f
commit 00a9672524
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@ FixQEqReaxKokkos(LAMMPS *lmp, int narg, char **arg) :
nmax = nmax = m_cap = 0; nmax = nmax = m_cap = 0;
allocated_flag = 0; allocated_flag = 0;
nprev = 4; nprev = 4;
memory->destroy(s_hist);
memory->destroy(t_hist);
grow_arrays(atom->nmax);
} }
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */