summaryrefslogtreecommitdiff
path: root/scipy/base/matrix.py
diff options
context:
space:
mode:
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 6fc717cb7..721dfc8ce 100644
--- a/scipy/base/matrix.py
+++ b/scipy/base/matrix.py
@@ -84,7 +84,7 @@ class matrix(N.ndarray):
ret = N.ndarray.__new__(matrix, shape, arr.dtype, buffer=arr,
fortran=fortran,
- swap=(not arr.flags['NOTSWAPPED']))
+ swap=arr.flags['S'])
return ret;