diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-02-19 00:54:51 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-02-19 00:54:51 +0000 |
commit | f30e6c284e6430068c8301206c7e811f5127141b (patch) | |
tree | c9510da413bb73c4c713acf3d32ff53196e484ea /numpy/lib | |
parent | 626bcc3dad4d8227addd43619bca1dc29ce4d0b1 (diff) | |
download | numpy-f30e6c284e6430068c8301206c7e811f5127141b.tar.gz |
1) Fix scimath functions to take and return vectors.
2) Fix old bug in PyArray_CastTo when multiple copies made.
3) Fix reference counting bugs.
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/scimath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/scimath.py b/numpy/lib/scimath.py index 1e06946b6..1875647aa 100644 --- a/numpy/lib/scimath.py +++ b/numpy/lib/scimath.py @@ -27,7 +27,7 @@ def _fix_real_lt_zero(x): x = asarray(x) if any(isreal(x) & (x<0)): x = _tocomplex(x) - return asscalar(x) + return x def _fix_real_abs_gt_1(x): x = asarray(x) |