From 3e3dd665d89496da053f76f120d504e9f1bf1699 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Tue, 8 Aug 2006 07:49:10 +0000 Subject: Add numarray compatibility. --- numpy/numarray/alter_code1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/numarray/alter_code1.py') diff --git a/numpy/numarray/alter_code1.py b/numpy/numarray/alter_code1.py index 07b74ada7..259672b76 100644 --- a/numpy/numarray/alter_code1.py +++ b/numpy/numarray/alter_code1.py @@ -28,7 +28,7 @@ Makes the following changes: - self.new(type) --> empty(self.shape, type) - .repeat(r) --> .repeat(r, axis=0) - .size() --> .size - - .type() -- numarray.type(self.dtype) + - .type() -- numarray.typefrom(self) - .typecode() --> .dtype.char - .stddev() --> .std() - .togglebyteorder() --> self.dtype=self.dtype.newbyteorder() -- cgit v1.2.1