Skip to content

Commit

Permalink
Wrong counter was incremented in last 'pushBuffer' step (#2632)
Browse files Browse the repository at this point in the history
  • Loading branch information
st-pasha authored and mattdowle committed Feb 17, 2018
1 parent 3989ea2 commit 01ef8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fread.c
Original file line number Diff line number Diff line change
Expand Up @@ -2222,7 +2222,7 @@ int freadMain(freadMainArgs _args) {
if (myNrow) {
double now = verbose ? wallclock() : 0;
pushBuffer(&ctx);
if (verbose) thRead += wallclock() - now;
if (verbose) thPush += wallclock() - now;
}
// Each thread to free their own buffer.
free(ctx.buff8); ctx.buff8 = NULL;
Expand Down

0 comments on commit 01ef8e3

Please sign in to comment.