diff --git a/modflowapi/extensions/data.py b/modflowapi/extensions/data.py index 5079262..8a5f8b3 100644 --- a/modflowapi/extensions/data.py +++ b/modflowapi/extensions/data.py @@ -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: