From d4bc448b34d70b94237d385d21493558137aaef9 Mon Sep 17 00:00:00 2001 From: "Langevin, Christian D." Date: Fri, 13 Dec 2024 08:25:38 -0600 Subject: [PATCH] fix(synthetic-valley): numpy selection behavior is inconsistent This PR should fix a numpy selection issue that was causing this model to fail with some operating systems --- scripts/ex-gwt-synthetic-valley.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ex-gwt-synthetic-valley.py b/scripts/ex-gwt-synthetic-valley.py index 161e986c..5ede244b 100644 --- a/scripts/ex-gwt-synthetic-valley.py +++ b/scripts/ex-gwt-synthetic-valley.py @@ -326,7 +326,7 @@ def circle_function(center=(0, 0), radius=1.0, dtheta=10.0): bot_l3 = np.full(bot_vg.shape, -100.0 * ft2m, dtype=float) bot_l4 = bot_vg + 0.5 * (bot_l3 - bot_vg) # set the bottom of the 3rd layer in areas where the confining unit exists -bot_l2[idomain_2] = -50.0 * ft2m +bot_l2[idomain_2 == -1] = -50.0 * ft2m # create a list with bottom data botm = [-5.0 * ft2m, -50.0 * ft2m, bot_l2, -100.0 * ft2m, bot_l4, bot_vg] # -