diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-07-31 22:26:25 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-07-31 22:26:25 +0000 |
commit | 9051aeeb52b2d17a66e707d5393f8adec461bd48 (patch) | |
tree | 47d4d0c97f6506997fc24bd2cf1abf19284b54b3 | |
parent | ba7e34fde1cdb7b32993a1a913249f4257f51c2e (diff) | |
download | numpy-9051aeeb52b2d17a66e707d5393f8adec461bd48.tar.gz |
Revert change to lwork
-rw-r--r-- | numpy/linalg/linalg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py index 244d82cf0..d1de7fea2 100644 --- a/numpy/linalg/linalg.py +++ b/numpy/linalg/linalg.py @@ -430,7 +430,7 @@ def svd(a, full_matrices=1, compute_uv=1): work = zeros((lwork,), t) results = lapack_routine(option, m, n, a, m, s, u, m, vt, nvt, work, -1, iwork, 0) - lwork = int(abs(work[0])) + lwork = int(work[0]) if option == 'N' and lwork==1: # there seems to be a bug in dgesdd of lapack # (NNemec, 060310) |