git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6486 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-06-30 20:10:18 +00:00
parent 40ac5cd2fb
commit aedbb28b6c
86 changed files with 97 additions and 193 deletions

View File

@ -575,8 +575,7 @@ void Input::ifthenelse()
ncommands++;
}
for (int i = 0; i < ncommands; i++)
char *command = input->one(commands[i]);
for (int i = 0; i < ncommands; i++) input->one(commands[i]);
for (int i = 0; i < ncommands; i++) delete [] commands[i];
delete [] commands;
@ -632,8 +631,7 @@ void Input::ifthenelse()
// execute the list of commands
for (int i = 0; i < ncommands; i++)
char *command = input->one(commands[i]);
for (int i = 0; i < ncommands; i++) input->one(commands[i]);
// clean up