Commit 34c4fe18 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.0.12.5 CreateCalibOptions returns an error when all the parameters ar set

parent b645296d
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.0.12.4
Version: 1.0.12.5
Date: 2018-08-29
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -14,7 +14,7 @@ output:
### 1.0.12.4 Release Notes (2018-08-29)
### 5 Release Notes (2018-08-29)
#### Deprectated and defunct
......@@ -26,7 +26,9 @@ output:
- <code>PEdaily_Oudin()</code> now presents a <code>LatUnit</code> argument which allows to chose the unit of the latitude between radians and degrees.
- <code>Calibration_Michel()</code> is now faster during the grid-screening step when a parameter is set using <code>FixedParam</code> in <code>CreateCalibOptions</code>.
- <code>Calibration_Michel()</code> is now faster during the grid-screening step when a parameter is set using <code>FixedParam</code> in <code>CreateCalibOptions()</code>.
- <code>CreateCalibOptions()</code> now returns an error when all the parameters ar set in <code>FixedParam</code>.
#### Minor user-visible changes
......
......@@ -178,6 +178,10 @@ CreateCalibOptions <-
stop("Incompatibility between FixedParam length and FUN_MOD \n")
return(NULL)
}
if (!all(is.na(FixedParam))) {
stop("At least one parameter must be not set (NA) \n")
return(NULL)
}
}
##check_SearchRanges
......
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