Skip to content

Commit 44c9071

Browse files
authored
fix(mp7): fix shape assignment for DISU package (#2651)
1 parent 2f24768 commit 44c9071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flopy/modpath/mp7.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def __init__(
144144
shape = (nlay, ncpl)
145145
elif dis.package_name.lower() == "disu":
146146
nodes = dis.nodes.array
147-
shape = tuple(nodes)
147+
shape = (nodes,)
148148
else:
149149
raise TypeError(
150150
"DIS, DISV, or DISU packages must be "

0 commit comments

Comments
 (0)