fixed MetaArray.copy
This commit is contained in:
parent
35357308b9
commit
5f94cebdaf
@ -430,9 +430,7 @@ class MetaArray(object):
|
||||
return copy.deepcopy(self._info[self._interpretAxis(axis)])
|
||||
|
||||
def copy(self):
|
||||
a = np.ndarray.copy(self)
|
||||
a._info = self.infoCopy()
|
||||
return a
|
||||
return MetaArray(self._data.copy(), info=self.infoCopy())
|
||||
|
||||
|
||||
def _interpretIndexes(self, ind):
|
||||
|
Loading…
Reference in New Issue
Block a user