Skip to content

Commit

Permalink
fix _naux check
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarsen-usgs committed Aug 8, 2023
1 parent 5a63159 commit 0f159da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modflowapi/extensions/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _ptr_to_recarray(self):
return
recarray = np.recarray((self._nbound[0],), self._dtype)
for name, ptr in self._ptrs.items():
if name == "auxvar" and self._naux == 0:
if name == "auxvar" and self._naux[0] == 0:
continue
values = np.copy(ptr)
if name in self._boundvars:
Expand Down

0 comments on commit 0f159da

Please sign in to comment.