From 5c1486661c5fc0d49e023af893885cffca2a1897 Mon Sep 17 00:00:00 2001 From: jrgissing Date: Sun, 13 Feb 2022 14:53:16 -0500 Subject: [PATCH] revert now unnecessary edits --- src/read_restart.cpp | 8 ++++---- src/replicate.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/read_restart.cpp b/src/read_restart.cpp index a5d5e8e0cd..f8ac14534b 100644 --- a/src/read_restart.cpp +++ b/src/read_restart.cpp @@ -195,7 +195,7 @@ void ReadRestart::command(int narg, char **arg) } m = 0; - while (m < assignedChunkSize) m += avec->unpack_restart(&buf[m],atom); + while (m < assignedChunkSize) m += avec->unpack_restart(&buf[m]); } // input of single native file @@ -247,7 +247,7 @@ void ReadRestart::command(int narg, char **arg) if (coord[0] >= sublo[0] && coord[0] < subhi[0] && coord[1] >= sublo[1] && coord[1] < subhi[1] && coord[2] >= sublo[2] && coord[2] < subhi[2]) { - m += avec->unpack_restart(&buf[m],atom); + m += avec->unpack_restart(&buf[m]); } else m += static_cast (buf[m]); } } @@ -292,7 +292,7 @@ void ReadRestart::command(int narg, char **arg) utils::sfread(FLERR,buf,sizeof(double),n,fp,nullptr,error); m = 0; - while (m < n) m += avec->unpack_restart(&buf[m],atom); + while (m < n) m += avec->unpack_restart(&buf[m]); } fclose(fp); @@ -385,7 +385,7 @@ void ReadRestart::command(int narg, char **arg) if (i % nclusterprocs == me - fileproc) { m = 0; - while (m < n) m += avec->unpack_restart(&buf[m],atom); + while (m < n) m += avec->unpack_restart(&buf[m]); } } diff --git a/src/replicate.cpp b/src/replicate.cpp index df0e363840..45ecd3ec9a 100644 --- a/src/replicate.cpp +++ b/src/replicate.cpp @@ -621,7 +621,7 @@ void Replicate::command(int narg, char **arg) coord[1] >= sublo[1] && coord[1] < subhi[1] && coord[2] >= sublo[2] && coord[2] < subhi[2]) { - m += avec->unpack_restart(&buf_all[m],atom); + m += avec->unpack_restart(&buf_all[m]); i = atom->nlocal - 1; if (tag_enable) @@ -746,7 +746,7 @@ void Replicate::command(int narg, char **arg) coord[1] >= sublo[1] && coord[1] < subhi[1] && coord[2] >= sublo[2] && coord[2] < subhi[2]) { - m += avec->unpack_restart(&buf[m],atom); + m += avec->unpack_restart(&buf[m]); i = atom->nlocal - 1; if (tag_enable)