From f30e6c284e6430068c8301206c7e811f5127141b Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Sun, 19 Feb 2006 00:54:51 +0000 Subject: 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. --- numpy/lib/scimath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/scimath.py') 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) -- cgit v1.2.1