Commit f2f8071c authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.3.2.56 CLEAN: minor typo correction of stop message in CreateInputsModel #8

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.2.55 Version: 1.3.2.56
Date: 2019-11-19 Date: 2019-11-19
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")),
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
### 1.3.2.55 Release Notes (2019-11-19) ### 1.3.2.56 Release Notes (2019-11-19)
#### New features #### New features
......
...@@ -242,7 +242,7 @@ CreateInputsModel <- function(FUN_MOD, ...@@ -242,7 +242,7 @@ CreateInputsModel <- function(FUN_MOD,
Select <- (max(which(BOOL_NA)) + 1):length(BOOL_NA) Select <- (max(which(BOOL_NA)) + 1):length(BOOL_NA)
if (Select[1L] > Select[2L]) { if (Select[1L] > Select[2L]) {
stop("time series could not be trunced since missing values were detected at the list time-step") stop("time series could not be trunced since missing values were detected at the last time-step")
} }
if ("GR" %in% ObjectClass) { if ("GR" %in% ObjectClass) {
Precip <- Precip[Select] Precip <- Precip[Select]
......
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