From 44e51fc6eb1414b42f29be19065e7e79a540313c Mon Sep 17 00:00:00 2001 From: yoctoyotta1024 <92624833+yoctoyotta1024@users.noreply.github.com> Date: Thu, 17 Jul 2025 15:00:44 +0200 Subject: [PATCH] fix: correct variable name --- examples/PyMPDATA_examples/Shipway_and_Hill_2012/fig_1.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/PyMPDATA_examples/Shipway_and_Hill_2012/fig_1.ipynb b/examples/PyMPDATA_examples/Shipway_and_Hill_2012/fig_1.ipynb index ffb60a8a..2314fdfc 100644 --- a/examples/PyMPDATA_examples/Shipway_and_Hill_2012/fig_1.ipynb +++ b/examples/PyMPDATA_examples/Shipway_and_Hill_2012/fig_1.ipynb @@ -214,8 +214,8 @@ " ql = mpdata['ql'].advectee.get()\n", " # note: this is possibly too inaccurate, would better iterate (but bulk is not our aim here)\n", " # note: also, something along these lines could be added: assert not np.logical_and(S<1, ql>0).any()\n", - " dql = np.maximum(0, qv * (1 - 1/RH))\n", - " ql += dql\n", + " dql_cond = np.maximum(0, qv * (1 - 1/RH))\n", + " ql += dql_cond\n", " else:\n", " psi = mpdata['ql'].advectee.get()\n", "\n",