Skip to content

Commit

Permalink
Merge pull request #639 from edwintorok/csv
Browse files Browse the repository at this point in the history
Owl_io.head: avoid log message about assertion failure on large CSV file
  • Loading branch information
jzstark committed Mar 7, 2024
2 parents 78327be + 688782d commit 650c85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/misc/owl_io.ml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ let head n fname =
(try
iteri_lines_of_file
(fun i s ->
assert (i < n);
if i >= n then raise_notrace End_of_file;
Owl_utils.Stack.push lines s)
fname
with
Expand Down

0 comments on commit 650c85c

Please sign in to comment.