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

v1.2.9.30 CLEAN: minor syntax revision in Calibration_Michel

Showing with 14 additions and 8 deletions
+14 -8
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.2.9.29 Version: 1.2.9.30
Date: 2019-03-20 Date: 2019-03-20
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")),
......
...@@ -13,7 +13,7 @@ output: ...@@ -13,7 +13,7 @@ output:
### 1.2.9.29 Release Notes (2019-03-20) ### 1.2.9.30 Release Notes (2019-03-20)
......
Calibration_Michel <- function(InputsModel, RunOptions, InputsCrit, CalibOptions, Calibration_Michel <- function(InputsModel,
FUN_MOD, FUN_CRIT, FUN_TRANSFO = NULL, verbose = TRUE) { RunOptions,
InputsCrit,
CalibOptions,
FUN_MOD <- match.fun(FUN_MOD) FUN_MOD,
FUN_CRIT <- match.fun(FUN_CRIT) FUN_CRIT, # deprecated
FUN_TRANSFO = NULL,
verbose = TRUE) {
FUN_MOD <- match.fun(FUN_MOD)
FUN_CRIT <- match.fun(FUN_CRIT)
if (!is.null(FUN_TRANSFO)) { if (!is.null(FUN_TRANSFO)) {
FUN_TRANSFO <- match.fun(FUN_TRANSFO) FUN_TRANSFO <- match.fun(FUN_TRANSFO)
} }
......
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