forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10821 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
7d8d8c22be
commit
89d315e2c6
|
@ -328,7 +328,7 @@ void PairNb3bHarmonic::read_file(char *file)
|
|||
|
||||
FILE *fp;
|
||||
if (comm->me == 0) {
|
||||
FILE *fp = open_potential(file);
|
||||
fp = open_potential(file);
|
||||
if (fp == NULL) {
|
||||
char str[128];
|
||||
sprintf(str,"Cannot open nb3b/harmonic potential file %s",file);
|
||||
|
|
Loading…
Reference in New Issue