Commit 5f94cebd authored by Luke Campagnola's avatar Luke Campagnola
Browse files

fixed MetaArray.copy

parent 35357308
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment