skip table consistency check for bitmapped tables
This commit is contained in:
@ -453,6 +453,10 @@ void PairTable::read_table(Table *tb, char *file, char *keyword)
|
||||
double r,e,f,rprev,rnext,eprev,enext,fleft,fright;
|
||||
|
||||
int ferror = 0;
|
||||
|
||||
// bitmapped tables do not follow regular ordering, so we cannot check them here
|
||||
|
||||
if (tb->rflag != BMP) {
|
||||
for (int i = 1; i < tb->ninput-1; i++) {
|
||||
r = tb->rfile[i];
|
||||
rprev = tb->rfile[i-1];
|
||||
@ -468,6 +472,7 @@ void PairTable::read_table(Table *tb, char *file, char *keyword)
|
||||
//printf("Values %d: %g %g %g\n",i,r,e,f);
|
||||
//printf(" secant %d %d %g: %g %g %g\n",i,ferror,r,fleft,fright,f);
|
||||
}
|
||||
}
|
||||
|
||||
if (ferror) {
|
||||
char str[128];
|
||||
|
||||
Reference in New Issue
Block a user