Skip to content

Commit

Permalink
Fix compilation error with new open function
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 7, 2024
1 parent 2082640 commit 9d5e597
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fortran/src/include/utils.f90
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,15 @@ type(AnswerT) function get_answer(id) result(answer)
end function

subroutine init_answer_cache()
character(len=32), parameter ::file_name = "answers.tsv"
character(len=64) :: line
character(len=32) :: val
character(len=4) :: id_, type_, length
integer(i18t) :: i, j
integer :: ios, line_length, unit_number

cached_answers = AnswerT(0, '', errort)
unit_number = open_data_file("answers.tsv")
unit_number = open_data_file(file_name)
line_length = 1
do while (line_length > 0)
line = ''
Expand Down

0 comments on commit 9d5e597

Please sign in to comment.