Commit 117f6166 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.2.14.6 BUG: ErrorCrit_KGE now calls .ErrorCrit fun with the right name

Showing with 3 additions and 3 deletions
+3 -3
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.14.5 Version: 1.2.14.6
Date: 2019-04-16 Date: 2019-04-16
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")),
......
...@@ -14,7 +14,7 @@ output: ...@@ -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 #### New features
......
...@@ -5,7 +5,7 @@ ErrorCrit_KGE <- function(InputsCrit, OutputsModel, warnings = TRUE, verbose = T ...@@ -5,7 +5,7 @@ ErrorCrit_KGE <- function(InputsCrit, OutputsModel, warnings = TRUE, verbose = T
stop("'OutputsModel' must be of class 'OutputsModel'") stop("'OutputsModel' must be of class 'OutputsModel'")
} }
OutputsCritCheck <- .fun_ErrorCrit(InputsCrit = InputsCrit, crit = "KGE") OutputsCritCheck <- .ErrorCrit(InputsCrit = InputsCrit, crit = "KGE")
if (!OutputsCritCheck$CritCompute) { if (!OutputsCritCheck$CritCompute) {
......
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