forked from lijiext/lammps
Fix issue in fix_qeq_reax_kokkos, can't call child function from base constructor
This commit is contained in:
parent
193252275f
commit
00a9672524
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
Loading…
Reference in New Issue