Commit e625e791 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

safer handling of processors w/o local atoms

parent f1088a50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -458,7 +458,7 @@ void FixMSST::initial_integrate(int vflag)

  // realloc old_velocity if necessary

  if (nlocal > maxold) {
  if (atom->nmax > maxold) {
    memory->destroy(old_velocity);
    maxold = atom->nmax;
    memory->create(old_velocity,maxold,3,"msst:old_velocity");