Commit 6c755369 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.2.3.2 NEW: add a specific hysteresis class returned by RunModel_CemaNeige #5252

Showing with 5 additions and 2 deletions
+5 -2
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.2.3.1
Version: 1.2.3.2
Date: 2019-02-19
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -13,7 +13,7 @@ output:
### 1.2.3.1 Release Notes (2019-02-19)
### 1.2.3.2 Release Notes (2019-02-19)
......
......@@ -159,6 +159,9 @@ RunModel_CemaNeige <- function(InputsModel, RunOptions, Param, IsHyst = FALSE) {
## End
class(OutputsModel) <- c("OutputsModel", "daily", "CemaNeige")
if(IsHyst) {
class(OutputsModel) <- c(class(OutputsModel), "hysteresis")
}
return(OutputsModel)
}
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