Commit 7971f3c1 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.3.0.1 BUG: CreateIniStates returns an object of class GR if RunModel_CemaNeigeGR4H is used

Showing with 3 additions and 3 deletions
+3 -3
Package: airGR Package: airGR
Type: Package Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.3.0.14 Version: 1.3.0.15
Date: 2019-05-20 Date: 2019-05-20
Authors@R: c( Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
...@@ -14,7 +14,7 @@ output: ...@@ -14,7 +14,7 @@ output:
### 1.3.0.14 Release Notes (2019-05-20) ### 1.3.0.15 Release Notes (2019-05-20)
#### New features #### New features
......
...@@ -38,7 +38,7 @@ CreateIniStates <- function(FUN_MOD, InputsModel, IsHyst = FALSE, ...@@ -38,7 +38,7 @@ CreateIniStates <- function(FUN_MOD, InputsModel, IsHyst = FALSE,
BOOL <- TRUE BOOL <- TRUE
} }
if (identical(FUN_MOD, RunModel_CemaNeigeGR4H)) { if (identical(FUN_MOD, RunModel_CemaNeigeGR4H)) {
ObjectClass <- c(ObjectClass, "CemaNeige", "hourly") ObjectClass <- c(ObjectClass, "GR", "CemaNeige", "hourly")
BOOL <- TRUE BOOL <- TRUE
} }
if (identical(FUN_MOD, RunModel_CemaNeigeGR4J) | if (identical(FUN_MOD, RunModel_CemaNeigeGR4J) |
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment