summaryrefslogtreecommitdiff
path: root/scipy/base/numeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-10-01 09:19:11 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-10-01 09:19:11 +0000
commit17bf4ce8201362db0fa17b604f6e0c08330e5f43 (patch)
tree1dad258b62cdf614c67ca84039398e37ac6c8ea6 /scipy/base/numeric.py
parentc2fcb2a160a46ab1b8ce4af99c684147bdde4081 (diff)
downloadnumpy-17bf4ce8201362db0fa17b604f6e0c08330e5f43.tar.gz
Add error checking for object ufuncs.
Diffstat (limited to 'scipy/base/numeric.py')
-rw-r--r--scipy/base/numeric.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scipy/base/numeric.py b/scipy/base/numeric.py
index dc380ed81..b32aea512 100644
--- a/scipy/base/numeric.py
+++ b/scipy/base/numeric.py
@@ -290,6 +290,7 @@ _errdict = {"ignore":ERR_IGNORE,
_errdict_rev = {}
for key in _errdict.keys():
_errdict_rev[_errdict[key]] = key
+del key
def seterr(divide="ignore", over="ignore", under="ignore", invalid="ignore", where=0):
maskvalue = (_errdict[divide] << SHIFT_DIVIDEBYZERO) + \