From 1901b7b33e3b080c6c78b4155b371ea693b5c29d Mon Sep 17 00:00:00 2001 From: stamoor Date: Mon, 21 Mar 2016 14:44:19 +0000 Subject: [PATCH] Allowing read_restart to use suffix style with avec git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14753 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/read_restart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/read_restart.cpp b/src/read_restart.cpp index b53b102c91..251b993277 100644 --- a/src/read_restart.cpp +++ b/src/read_restart.cpp @@ -825,7 +825,7 @@ void ReadRestart::header(int incompatible) char **argcopy = new char*[nargcopy]; for (int i = 0; i < nargcopy; i++) argcopy[i] = read_string(); - atom->create_avec(style,nargcopy,argcopy,0); + atom->create_avec(style,nargcopy,argcopy,1); for (int i = 0; i < nargcopy; i++) delete [] argcopy[i]; delete [] argcopy; delete [] style;