Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 1, 2024
1 parent d2c71bf commit c0349eb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fortran/src/include/utils.f90
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ function get_answer(id) result(answer)
return
end if

print *, "Initializing cache array"
do i=1, size(cached_answers)
print *, " Item:", i
cached_answers(i)%type = errort
end do

Expand All @@ -82,7 +80,6 @@ function get_answer(id) result(answer)
end if
row_start = 1
line_length = 1
print *, "File loaded, beginning main loop"
do while (line_length > 0)
line_length = index(text(row_start:), char(10)) ! Find the next line
row_end = row_start + line_length - 1
Expand All @@ -95,7 +92,6 @@ function get_answer(id) result(answer)
row_start = row_start + line_length
cycle
end if
print *, " Processing id:", id_
read(id_, *, iostat=ios) i
if (ios /= 0) then
print *, "Invalid integer literal for id. Moving on without explicit error, but please debug this"
Expand Down

0 comments on commit c0349eb

Please sign in to comment.