summaryrefslogtreecommitdiff
path: root/scipy/base/matrix.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-12-05 20:58:31 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-12-05 20:58:31 +0000
commita13279edfc10f6e392bc01255b8daeb0fbf3e1ab (patch)
treed6efb92e7385136c7ead0f5dd9c0380c483cab83 /scipy/base/matrix.py
parenta7a0f136775df5fd838f7b1c151fc78629e49d97 (diff)
downloadnumpy-a13279edfc10f6e392bc01255b8daeb0fbf3e1ab.tar.gz
Fixtype branch tests level 1 pass.
Diffstat (limited to 'scipy/base/matrix.py')
-rw-r--r--scipy/base/matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/matrix.py b/scipy/base/matrix.py
index 63743be9b..fe5528214 100644
--- a/scipy/base/matrix.py
+++ b/scipy/base/matrix.py
@@ -88,7 +88,7 @@ class matrix(N.ndarray):
if not (fortran or arr.flags.contiguous):
arr = arr.copy()
- ret = N.ndarray.__new__(subtype, shape, arr.dtype, arr.itemsize,
+ ret = N.ndarray.__new__(subtype, shape, arr.descr,
buffer=arr,
fortran=fortran,
swap=arr.flags.swapped)