From 6483f76bb678d1c0769dcb4321f8dd6c3d074d41 Mon Sep 17 00:00:00 2001
From: Thibault Hallouin <thibault.hallouin@inrae.fr>
Date: Mon, 11 Jul 2022 14:49:04 +0200
Subject: [PATCH] fix misleading error message for when thresholds not provided

---
 src/utils.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils.hpp b/src/utils.hpp
index 14cf002..8637639 100644
--- a/src/utils.hpp
+++ b/src/utils.hpp
@@ -113,7 +113,7 @@ namespace evalhyd
                               metric) != threshold_metrics.end())
                     if (thresholds.size() < 1)
                         throw std::runtime_error(
-                                "missing parameter 'thresholds' required to "
+                                "missing thresholds *q_thr* required to "
                                 "compute " + metric
                         );
             }
-- 
GitLab