Skip to content

Commit

Permalink
ENH: Make have_wrf_constants a subroutine
Browse files Browse the repository at this point in the history
f2py seems to do better with those.
  • Loading branch information
DWesl authored Sep 17, 2024
1 parent ef93ca6 commit f914a85
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fortran/wrf_constants.f90
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ MODULE wrf_constants
REAL(KIND=8), PARAMETER :: EXPONI = 1./EXPON

contains
logical function have_wrf_constants()
have_wrf_constants = .true.
end function have_wrf_constants
subroutine have_wrf_constants(a)
logical, intent(out) :: a
a = .true.
end subroutine have_wrf_constants
END MODULE wrf_constants

0 comments on commit f914a85

Please sign in to comment.