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

This commit is contained in:
sjplimp 2007-09-19 21:33:21 +00:00
parent 0eab9eef3c
commit 7c67b38f82
2 changed files with 3 additions and 3609 deletions

View File

@ -607,8 +607,8 @@ void PairMEAM::read_files(char *globalfile, char *userfile)
double value;
int nindex,index[3];
int maxparams = 6;
char **params = new char*[maxparams];
int nparams;
char *params[maxparams];
eof = 0;
while (1) {
@ -674,6 +674,8 @@ void PairMEAM::read_files(char *globalfile, char *userfile)
error->all(str);
}
}
delete [] params;
}
/* ---------------------------------------------------------------------- */

File diff suppressed because it is too large Load Diff