mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@891 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
0eab9eef3c
commit
7c67b38f82
|
@ -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;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
|
3608
src/nialhjea_fs
3608
src/nialhjea_fs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue