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
This commit is contained in:
stamoor 2016-03-21 14:44:19 +00:00
parent 042f50ac9c
commit 1901b7b33e
1 changed files with 1 additions and 1 deletions

View File

@ -825,7 +825,7 @@ void ReadRestart::header(int incompatible)
char **argcopy = new char*[nargcopy]; char **argcopy = new char*[nargcopy];
for (int i = 0; i < nargcopy; i++) for (int i = 0; i < nargcopy; i++)
argcopy[i] = read_string(); 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]; for (int i = 0; i < nargcopy; i++) delete [] argcopy[i];
delete [] argcopy; delete [] argcopy;
delete [] style; delete [] style;