From 21ebaf5da0b9774bcf36563085cf30eb2ac365f0 Mon Sep 17 00:00:00 2001 From: Thibault Hallouin <thibault.hallouin@inrae.fr> Date: Mon, 19 Dec 2022 15:29:03 +0100 Subject: [PATCH] fix mismatch in tensor rank --- src/utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.hpp b/src/utils.hpp index 7cc02a5..369fd4f 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -141,7 +141,7 @@ namespace evalhyd /// Array of thresholds for metrics based on exceedance events. inline void check_optionals ( const std::vector<std::string>& metrics, - const xt::xtensor<double, 1>& thresholds + const xt::xtensor<double, 2>& thresholds ) { std::vector<std::string>threshold_metrics = -- GitLab