From ea066eb4c583f6dc402eabd2acbc94bb74ae5d41 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.fr>
Date: Wed, 14 Oct 2020 17:26:35 +0200
Subject: [PATCH] v1.6.3.11 fix: RunModel_LAG renamed into RunModel_Lag in
 Calibration_Michel Refs #34

---
 DESCRIPTION            | 2 +-
 NEWS.md                | 4 +++-
 R/Calibration_Michel.R | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index 5a8c4b47..a91b746d 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.6.3.10
+Version: 1.6.3.11
 Date: 2020-10-14
 Authors@R: c(
   person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
diff --git a/NEWS.md b/NEWS.md
index 8a95f801..c9124c48 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,6 +1,8 @@
 ## Release History of the airGR Package
 
-### 1.6.3.10 Release Notes (2020-10-14)
+
+
+### 1.6.3.11 Release Notes (2020-10-14)
 
 #### New features
 
diff --git a/R/Calibration_Michel.R b/R/Calibration_Michel.R
index 11a50103..aaad7c8a 100644
--- a/R/Calibration_Michel.R
+++ b/R/Calibration_Michel.R
@@ -80,7 +80,7 @@ Calibration_Michel <- function(InputsModel,
     }
     ##_set_FUN_LAG
     if (inherits(CalibOptions, "SD")) {
-      FUN_LAG <- TransfoParam_LAG
+      FUN_LAG <- TransfoParam_Lag
     }	
     if (identical(FUN_MOD, RunModel_CemaNeige    )) {
       if (inherits(CalibOptions, "hysteresis")) {
-- 
GitLab