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

v1.4.3.16 BUG: no visible binding for global variable Ind_Run fixed in Imax #13

parent a1b3155d
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.4.3.15
Version: 1.4.3.16
Date: 2019-12-16
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -2,7 +2,7 @@
### 1.4.3.15 Release Notes (2019-12-16)
### 1.4.3.16 Release Notes (2019-12-16)
#### New features
......
......@@ -18,7 +18,7 @@ Imax <- function(InputsModel,
if (!inherits(IndPeriod_Run, "integer")) {
stop("'IndPeriod_Run' must be of type integer")
}
if (!identical(as.integer(IndPeriod_Run), IndPeriod_Run[1]:Ind_Run[length(IndPeriod_Run)])) {
if (!identical(as.integer(IndPeriod_Run), IndPeriod_Run[1]:IndPeriod_Run[length(IndPeriod_Run)])) {
stop("'IndPeriod_Run' must be a continuous sequence of integers")
}
......
Markdown is supported
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