diff --git a/src/utils.hpp b/src/utils.hpp
index 7cc02a56f2a43732d098064eddc825042bdae24e..369fd4f8d4db649585323f92aa9397a13ff2ff95 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 =