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

This commit is contained in:
sjplimp
2014-02-13 15:55:28 +00:00
parent 32a5cd0043
commit 1a8ee73f0a
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ void PairComb3::read_lib()
// open libraray file on proc 0
if(comm->me == 0) {
FILE *fp = fopen("lib.comb3","r");
FILE *fp = open_potential("lib.comb3");
if (fp == NULL) {
char str[128];
sprintf(str,"Cannot open COMB3 C library file \n");

View File

@ -218,7 +218,7 @@ void PairList::settings(int narg, char **arg)
if (strcmp(arg[2],"check") == 0) check_flag = 1;
}
FILE *fp = fopen(arg[0],"r");
FILE *fp = open_potential(arg[0]);
char line[1024];
if (fp == NULL)
error->all(FLERR,"Cannot open pair list file");