diff --git a/DESCRIPTION b/DESCRIPTION index fd5f0958f743f254c123963cc33c08c4236e3103..060cdf35caf03917091d7ba6dcd305a90e52d2fc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.6.9.33 -Date: 2021-01-26 +Version: 1.6.9.34 +Date: 2021-01-27 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"), diff --git a/NEWS.md b/NEWS.md index b4cd125ef75dd8a231b3c71e05192069ace86267..edfe8ed83d64e4335c46b3a5f2e7e5d680729d88 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,12 +2,16 @@ -### Unreleased +### 1.6.9.34 Release Notes (2021-01-27) #### Major user-visible changes - `Imax()` now returns an error message when `IndPeriod_Run` doesn't select 24 hours by day, instead of `numeric(0)`. ([#92](https://gitlab.irstea.fr/HYCAR-Hydro/airgr/-/issues/92)) + +#### Minor user-visible changes +- Fixed warning returned by GCC Fortran in `frun_GR5H.f90`. ([#93](https://gitlab.irstea.fr/HYCAR-Hydro/airgr/-/issues/93)) + ____________________________________________________________________________________ diff --git a/src/frun_GR5H.f90 b/src/frun_GR5H.f90 index 2027f47cee451b0a239d868974bfffb6ff109357..0de3f72964d34716ab433b03fe3d45e735579e2d 100644 --- a/src/frun_GR5H.f90 +++ b/src/frun_GR5H.f90 @@ -76,8 +76,11 @@ doubleprecision, dimension(NMISC) :: MISC doubleprecision :: D,P1,E,Q - IF (Imax .LT. 0.) IsIntStore = .FALSE. - IF (Imax .GE. 0.) IsIntStore = .TRUE. + IF (Imax .LT. 0.) THEN + IsIntStore = .FALSE. + ELSE + IsIntStore = .TRUE. + ENDIF !-------------------------------------------------------------- ! Initializations