Skip to content

Commit

Permalink
put the rewind back
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaconnet committed Sep 30, 2024
1 parent 1325fca commit 79ee989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/io/csv_file.f90
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ function csv_file_count_lines(this) result(n)
open(file = trim(this%fname), status = 'old', newunit = file_unit, &
iostat = ierr)
if (ierr .ne. 0) call neko_error("Error while opening " // trim(this%fname))
rewind(file_unit)

n = 0

Expand Down

0 comments on commit 79ee989

Please sign in to comment.