Skip to content

Commit 1b4424e

Browse files
committed
fix pre-idm bound condition in _ptr_to_recarray
1 parent c2794c2 commit 1b4424e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modflowapi/extensions/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def _recarray_to_ptr(self, recarray):
256256
elif self._bound in self._ptrs and name in self.parent._bound_vars:
257257
# Check for bound to support advanced packages
258258
idx = self.parent._bound_vars.index(name)
259-
self._ptrs[self._bound[0]][0 : self._nbound[0], idx] = recarray[name]
259+
self._ptrs[self._bound][0 : self._nbound[0], idx] = recarray[name]
260260
visited.append(name)
261261

262262
elif name in self._auxnames:

0 commit comments

Comments
 (0)