diff --git a/src/uproot/containers.py b/src/uproot/containers.py index 3506dee52..2093c229a 100644 --- a/src/uproot/containers.py +++ b/src/uproot/containers.py @@ -1541,7 +1541,7 @@ def __eq__(self, other): return False def __array__(self, *args, **kwargs): - return numpy.asarray(self._vector, *args, **kwargs) + return numpy.asarray(self._values, *args, **kwargs) def tolist(self): return [ @@ -1656,7 +1656,7 @@ def __eq__(self, other): return False def __array__(self, *args, **kwargs): - return numpy.asarray(self._vector, *args, **kwargs) + return numpy.asarray(self._values, *args, **kwargs) def tolist(self): return [