From d9515cd5774079343d2f1765f8d50ad3a9e841e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20Calj=C3=A9?= Date: Thu, 20 Jun 2024 09:59:17 +0200 Subject: [PATCH] Remove warning from nlmod.gwf.output.get_flow_lower_face --- nlmod/gwf/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nlmod/gwf/output.py b/nlmod/gwf/output.py index 422f1db3..f0d0f356 100644 --- a/nlmod/gwf/output.py +++ b/nlmod/gwf/output.py @@ -364,7 +364,7 @@ def get_flow_lower_face( mask = grb_ja[ia] >= ja_start_next_layer if mask.any(): # assert mask.sum() == 1 - flf_index[ilay, icell2d] = int(ia[mask]) + flf_index[ilay, icell2d] = int(ia[mask][0]) coords = ds["botm"][lays].coords else: coords = ds["botm"].coords