From 117f6166a1e1834992888e1f2d62188a94a92401 Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.priv> Date: Tue, 16 Apr 2019 17:32:58 +0200 Subject: [PATCH] v1.2.14.6 BUG: ErrorCrit_KGE now calls .ErrorCrit fun with the right name --- DESCRIPTION | 2 +- NEWS.rmd | 2 +- R/ErrorCrit_KGE.R | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0e54386d..329a7257 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.2.14.5 +Version: 1.2.14.6 Date: 2019-04-16 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.rmd b/NEWS.rmd index 02a15af1..409a0708 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -14,7 +14,7 @@ output: -### 1.2.14.5 Release Notes (2019-04-16) +### 1.2.14.6 Release Notes (2019-04-16) #### New features diff --git a/R/ErrorCrit_KGE.R b/R/ErrorCrit_KGE.R index ead70980..783decb6 100644 --- a/R/ErrorCrit_KGE.R +++ b/R/ErrorCrit_KGE.R @@ -5,7 +5,7 @@ ErrorCrit_KGE <- function(InputsCrit, OutputsModel, warnings = TRUE, verbose = T stop("'OutputsModel' must be of class 'OutputsModel'") } - OutputsCritCheck <- .fun_ErrorCrit(InputsCrit = InputsCrit, crit = "KGE") + OutputsCritCheck <- .ErrorCrit(InputsCrit = InputsCrit, crit = "KGE") if (!OutputsCritCheck$CritCompute) { -- GitLab