Skip to content

Commit

Permalink
fix(ModflowOc): fix small error in unitnumber vector
Browse files Browse the repository at this point in the history
The unitnumber vector in __init__() was wrong (too many zeros padded at the end). This error was without consequence, but still better fixed.
  • Loading branch information
etiennebresciani committed Mar 5, 2020
1 parent 1a6e681 commit c0709e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flopy/modflow/mfoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c0709e9

Please sign in to comment.