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 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) |