Commit 7feb6c28 authored by Tim Mattox's avatar Tim Mattox
Browse files

USER-DPD: fix a bug in AtomVecDPDKokkos::unpack_restart()

parent d1a0a3e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1668,7 +1668,7 @@ int AtomVecDPDKokkos::unpack_restart(double *buf)

  double **extra = atom->extra;
  if (atom->nextra_store) {
    int size = static_cast<int> (ubuf(buf[m++]).i) - m;
    int size = static_cast<int> (buf[0]) - m;
    for (int i = 0; i < size; i++) extra[nlocal][i] = buf[m++];
  }