diff options
Diffstat (limited to 'scipy/base/matrix.py')
-rw-r--r-- | scipy/base/matrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/matrix.py b/scipy/base/matrix.py index fe5528214..01f817f8a 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.descr, + ret = N.ndarray.__new__(subtype, shape, arr.dtypedescr, buffer=arr, fortran=fortran, swap=arr.flags.swapped) |