add a few more cases that should recognize $LAMMPS_POTENTIALS

This commit is contained in:
Axel Kohlmeyer
2014-02-11 22:07:40 -05:00
parent 0ad199801d
commit 7b433cf7a2
3 changed files with 3 additions and 3 deletions

View File

@ -343,7 +343,7 @@ void PairTable::read_table(Table *tb, char *file, char *keyword)
// open file
FILE *fp = fopen(file,"r");
FILE *fp = open_potential(file);
if (fp == NULL) {
char str[128];
sprintf(str,"Cannot open file %s",file);