diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-10-19 21:59:30 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-10-19 21:59:30 +0000 |
commit | cd201fd9b86b6f070e19e2d9cd873abaf862451c (patch) | |
tree | ddd3908ae2e965aba5001ef0d7d847808ace41f9 /scipy/base/matrix.py | |
parent | 19cba66a6dce0b657c1ee7c36734c7e578e17036 (diff) | |
download | numpy-cd201fd9b86b6f070e19e2d9cd873abaf862451c.tar.gz |
Changed default on matrix to copy=1
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 1e966d102..908e38ec7 100644 --- a/scipy/base/matrix.py +++ b/scipy/base/matrix.py @@ -47,7 +47,7 @@ def _convert_from_string(data): class matrix(N.ndarray): __array_priority__ = 10.0 - def __new__(self, data, dtype=None, copy=0): + def __new__(self, data, dtype=None, copy=1): if isinstance(data, matrix): dtype2 = data.dtype if (dtype is None): |