From 9e30eb9d9b2879eca04d80370750a9b73bd03259 Mon Sep 17 00:00:00 2001 From: Martin Vonk <66305055+martinvonk@users.noreply.github.com> Date: Thu, 13 Aug 2026 16:20:30 +0200 Subject: [PATCH] Fix condition for richards laytyp check in mfusglpf.py --- flopy/mfusg/mfusglpf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flopy/mfusg/mfusglpf.py b/flopy/mfusg/mfusglpf.py index b8f5e69166..a15ff83b73 100644 --- a/flopy/mfusg/mfusglpf.py +++ b/flopy/mfusg/mfusglpf.py @@ -335,7 +335,7 @@ def __init__( model, (njag,), np.float32, ksat, "ksat", locat=self.unit_number[0] ) - if self.laytyp == 5: + if (self.laytyp.array == 5).any(): self.richards = True bas = model.get_package("BAS6") if not hasattr(bas, "richards") or not bas.richards: