Commit 3c0cef99 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

Merge branch 'fix_domain_pointer' of https://github.com/andeplane/lammps into...

Merge branch 'fix_domain_pointer' of https://github.com/andeplane/lammps into collected-small-changes
parents 0be2cd3d f57f1efd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1697,6 +1697,7 @@ int Domain::ownatom(int id, double *x, imageint *image, int shrinkexceed)
void Domain::set_lattice(int narg, char **arg)
{
  if (lattice) delete lattice;
  lattice = NULL;
  lattice = new Lattice(lmp,narg,arg);
}