From c0709e9c1cd7e277f7533a21219f99359a0ee78a Mon Sep 17 00:00:00 2001 From: Etienne Bresciani <53166244+etiennebresciani@users.noreply.github.com> Date: Wed, 26 Feb 2020 14:49:18 +0900 Subject: [PATCH] fix(ModflowOc): fix small error in unitnumber vector The unitnumber vector in __init__() was wrong (too many zeros padded at the end). This error was without consequence, but still better fixed. --- flopy/modflow/mfoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flopy/modflow/mfoc.py b/flopy/modflow/mfoc.py index a9fdd484cd..573d448959 100644 --- a/flopy/modflow/mfoc.py +++ b/flopy/modflow/mfoc.py @@ -153,7 +153,7 @@ def __init__(self, model, \ """ if unitnumber is None: - unitnumber = [ModflowOc.defaultunit(), 0, 0, 0, 0] + unitnumber = ModflowOc.defaultunit() elif isinstance(unitnumber, list): if len(unitnumber) < 5: for idx in range(len(unitnumber), 6):