From f57cc623b205dc09a860cf7b81a38ed2fe336eaa Mon Sep 17 00:00:00 2001
From: Thibault Hallouin <thibault.hallouin@inrae.fr>
Date: Fri, 27 Jan 2023 13:33:12 +0100
Subject: [PATCH] fix mistaken variable used to infer number of masks

---
 include/evalhyd/detail/determinist/evaluator.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/evalhyd/detail/determinist/evaluator.hpp b/include/evalhyd/detail/determinist/evaluator.hpp
index 6314795..738b199 100644
--- a/include/evalhyd/detail/determinist/evaluator.hpp
+++ b/include/evalhyd/detail/determinist/evaluator.hpp
@@ -166,7 +166,7 @@ namespace evalhyd
                 // determine size for recurring dimensions
                 n_srs = q_prd.shape(0);
                 n_tim = q_prd.shape(1);
-                n_msk = msk.shape(1);
+                n_msk = t_msk.shape(1);
                 n_exp = b_exp.size();
 
                 // drop time steps where observations or predictions are NaN
-- 
GitLab