summaryrefslogtreecommitdiff
path: root/scipy/base/oldscipy.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-09-19 23:41:29 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-09-19 23:41:29 +0000
commit2d0b625d58a48525ded47c4d184ad3837e71c316 (patch)
tree6ee5981bd1723dfde53fbf92d7fba58e897188cb /scipy/base/oldscipy.py
parentdc87df7f9c06d35ab172d9961f7c81a0148a212d (diff)
downloadnumpy-2d0b625d58a48525ded47c4d184ad3837e71c316.tar.gz
Fixing some array scalar inconsistencies.
Diffstat (limited to 'scipy/base/oldscipy.py')
-rw-r--r--scipy/base/oldscipy.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/scipy/base/oldscipy.py b/scipy/base/oldscipy.py
deleted file mode 100644
index d09496876..000000000
--- a/scipy/base/oldscipy.py
+++ /dev/null
@@ -1,10 +0,0 @@
-
-# Need this to change array type for low precision values
-# Should really be done with method call and rtype
-# This is for backwards compatibility...
-def sum(x, axis=0, rtype=None):
- x = asarray(x)
- if x.dtypechar in ['b','h','B','H']:
- x = x.astype(intp)
- return _nx.sum(x,axis)
-