diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-10-13 23:39:44 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-10-13 23:39:44 +0000 |
commit | 2c6e233984b6af96d3bf3a38b4932aa5f4c433ad (patch) | |
tree | 0efb687e0a496844cc3cd8511d64f007c77e4ea1 /scipy/base/matrix.py | |
parent | 4d9e46d48de3ce4039ce5ebe5433eab339067b98 (diff) | |
download | numpy-2c6e233984b6af96d3bf3a38b4932aa5f4c433ad.tar.gz |
Fixed so that array always returns an array object.
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 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; |