diff --git a/docs/version_changes.md b/docs/version_changes.md index ceedb005b3..6bd2a65f4c 100644 --- a/docs/version_changes.md +++ b/docs/version_changes.md @@ -1,5 +1,11 @@ FloPy Changes ----------------------------------------------- +### Version 3.2.13 + +* Bug fixes: + + * Fixed instantiation of IUZBND in UZT class. When no array was supplied in argument list for IUZBND, default of a 3D array was used, needs to be 2D (#605) + ### Version 3.2.12 * Added a check method for OC package (#558) diff --git a/flopy/mt3d/mtuzt.py b/flopy/mt3d/mtuzt.py index deef15b027..c2ff815fed 100644 --- a/flopy/mt3d/mtuzt.py +++ b/flopy/mt3d/mtuzt.py @@ -190,8 +190,8 @@ def __init__(self, model, icbcuz=None, iet=0, iuzfbnd=None, locat=self.unit_number[0]) # set iuzfbnd based on UZF input file else: - arr = np.zeros((nlay, nrow, ncol), dtype=np.int32) - self.iuzfbnd = Util3d(self.parent, (nlay, nrow, ncol), np.int32, + arr = np.zeros((nrow, ncol), dtype=np.int32) + self.iuzfbnd = Util2d(self.parent, (nrow, ncol), np.int32, arr, name='iuzfbnd', locat=self.unit_number[0])