summaryrefslogtreecommitdiff
path: root/numpy/core/defmatrix.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/defmatrix.py')
-rw-r--r--numpy/core/defmatrix.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/defmatrix.py b/numpy/core/defmatrix.py
index 388d7b1c9..662f6f62c 100644
--- a/numpy/core/defmatrix.py
+++ b/numpy/core/defmatrix.py
@@ -86,16 +86,16 @@ class matrix(N.ndarray):
elif ndim == 1:
shape = (1,shape[0])
- fortran = False
+ order = False
if (ndim == 2) and arr.flags.fortran:
- fortran = True
+ order = True
- if not (fortran or arr.flags.contiguous):
+ if not (order or arr.flags.contiguous):
arr = arr.copy()
ret = N.ndarray.__new__(subtype, shape, arr.dtype,
buffer=arr,
- fortran=fortran)
+ order=order)
return ret
def __array_finalize__(self, obj):