Skip to content
Snippets Groups Projects
Commit 1901b7b3 authored by stamoor's avatar stamoor
Browse files

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
parent 042f50ac
No related branches found
No related tags found
No related merge requests found
...@@ -825,7 +825,7 @@ void ReadRestart::header(int incompatible) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment