remove the old versions of the utility function and use the new

This commit is contained in:
Axel Kohlmeyer
2021-04-24 21:33:36 -04:00
parent 8e5e995188
commit 7e7a448a08
9 changed files with 27 additions and 94 deletions

View File

@ -5176,7 +5176,7 @@ int VarReader::read_peratom()
bigint nread = 0;
while (nread < nlines) {
nchunk = MIN(nlines-nread,CHUNK);
eof = comm->read_lines_from_file(fp,nchunk,MAXLINE,buffer);
eof = utils::read_lines_from_file(fp,nchunk,MAXLINE,buffer,me,world);
if (eof) return 1;
char *buf = buffer;