Skip to content

Commit 7fd1ac9

Browse files
authored
remove int() out of a logical expression
1 parent dc42cf5 commit 7fd1ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/example/logger/demo_log_text_error.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ subroutine check_line(line, status, col_no)
3030
! scan the line for forbidden characters
3131
col_no = scan(line,".$/")
3232
! col_no > 0 means there is a forbidden character
33-
status = int(col_no > 0)
33+
status = col_no > 0
3434
end subroutine
3535

3636
end program demo_log_text_error

0 commit comments

Comments
 (0)