Commit 354a5198 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.2.9.1 BUG: check if FUN_TRANSFO = NULL in CreateCalibOptions

parent b84085b2
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.2.9.0
Version: 1.2.9.1
Date: 2019-03-12
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -13,7 +13,7 @@ output:
### 1.2.9.0 Release Notes (2019-03-12)
### 1.2.9.1 Release Notes (2019-03-12)
......
......@@ -10,7 +10,9 @@ CreateCalibOptions <- function(FUN_MOD,
FUN_MOD <- match.fun(FUN_MOD)
FUN_CALIB <- match.fun(FUN_CALIB)
FUN_TRANSFO <- match.fun(FUN_TRANSFO)
if(!is.null(FUN_TRANSFO)) {
FUN_TRANSFO <- match.fun(FUN_TRANSFO)
}
##check_FUN_MOD
BOOL <- FALSE
......
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