diff --git a/DESCRIPTION b/DESCRIPTION index 1bafe679ba656e0e54f7a927a7b846c12e2999fa..345698f56c7735c350ac620c99175c56e96888cd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.4.3.4 +Version: 1.4.3.5 Date: 2019-12-12 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.md b/NEWS.md index 58f7e06c1a0d38f4f47f579091c809a4b943250a..4dd5a64f9e6eb18da5ce3d0c14d71db2815ab946 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ -### 1.4.3.4 Release Notes (2019-12-12) +### 1.4.3.5 Release Notes (2019-12-12) #### New features diff --git a/R/CreateIniStates.R b/R/CreateIniStates.R index 3a5da97fe461811baf1229b0899aa884839db340..d3a6c9481cf7bbe77cecb536fbe7d1345154980b 100644 --- a/R/CreateIniStates.R +++ b/R/CreateIniStates.R @@ -53,7 +53,7 @@ CreateIniStates <- function(FUN_MOD, InputsModel, IsHyst = FALSE, IsIntStore = F if (!"CemaNeige" %in% ObjectClass & IsHyst) { stop("'IsHyst' cannot be TRUE if CemaNeige is not used in 'FUN_MOD'") } - if (!(identical(FUN_MOD, RunModel_GR5H | identical(FUN_MOD, RunModel_CemaNeigeGR5H))) & IsIntStore) { + if (!(identical(FUN_MOD, RunModel_GR5H) | identical(FUN_MOD, RunModel_CemaNeigeGR5H)) & IsIntStore) { stop("'IsIntStore' cannot be TRUE if GR5H is not used in 'FUN_MOD'") }