summaryrefslogtreecommitdiff
path: root/numpy/lib/scimath.py
diff options
context:
space:
mode:
authorAlan McIntyre <alan.mcintyre@local>2008-07-09 20:49:40 +0000
committerAlan McIntyre <alan.mcintyre@local>2008-07-09 20:49:40 +0000
commit7895d91a8328e9b3f8bfb7bba1fb7f8302adde51 (patch)
tree8ee9da69848cb7cc4915cb7bef11a8d85f5e45fc /numpy/lib/scimath.py
parenta38f52777b28f91f73022b49a7d7000592dfd092 (diff)
downloadnumpy-7895d91a8328e9b3f8bfb7bba1fb7f8302adde51.tar.gz
Make doctests pass under new execution context.
Diffstat (limited to 'numpy/lib/scimath.py')
-rw-r--r--numpy/lib/scimath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/scimath.py b/numpy/lib/scimath.py
index 2a951135a..d601cbd14 100644
--- a/numpy/lib/scimath.py
+++ b/numpy/lib/scimath.py
@@ -51,7 +51,7 @@ def _tocomplex(arr):
>>> a = np.array([1,2,3],np.short)
>>> ac = np.lib.scimath._tocomplex(a); ac
- array([ 1.+0.j, 2.+0.j, 3.+0.j], dtype=np.complex64)
+ array([ 1.+0.j, 2.+0.j, 3.+0.j], dtype=complex64)
>>> ac.dtype
dtype('complex64')