parent
670d63cdf4
commit
0e33ddc28b
@ -358,7 +358,7 @@ class MetaArray(object):
|
||||
else:
|
||||
return np.array(self._data)
|
||||
|
||||
def __array__(self):
|
||||
def __array__(self, dtype=None):
|
||||
## supports np.array(metaarray_instance)
|
||||
return self.asarray()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user