From 329df690c1b9f1c34bbe1eceffe861978457fed0 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.fr>
Date: Thu, 28 Jul 2022 10:56:32 +0200
Subject: [PATCH] refactor: warn user if no warm up period is used in CalGR
 Refs: #52

---
 R/CalGR.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/R/CalGR.R b/R/CalGR.R
index f9ac28b..04e8e0a 100644
--- a/R/CalGR.R
+++ b/R/CalGR.R
@@ -59,7 +59,7 @@ CalGR <- function(PrepGR, CalCrit = c("NSE", "KGE", "KGE2", "RMSE"),
 
 
   MOD_opt <- CreateRunOptions(FUN_MOD = get(PrepGR$TypeModel), InputsModel = PrepGR$InputsModel,
-                              IndPeriod_WarmUp = WupInd, IndPeriod_Run = CalInd, verbose = FALSE)
+                              IndPeriod_WarmUp = WupInd, IndPeriod_Run = CalInd, verbose = TRUE)
 
 
   MOD_crt <- CreateInputsCrit(FUN_CRIT = FUN_CRIT, InputsModel = PrepGR$InputsModel,
-- 
GitLab